Giter Site home page Giter Site logo

Comments (11)

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

I think that's an inherent limitation of inline assembly. Maybe it works better if you put your assembly code into a separate .s file? We haven't used much assembly here, so I can't really comment on that issue. All the single-stepping etc. is handled by GDB.

from vscode-amiga-debug.

rjobling avatar rjobling commented on May 2, 2024

I don't know anything about how GDB works other than that it's a whole lot nicer than nothing! Seems like it would be hard to get it stepping through the inline code but maybe there's some way to have it step through the a.mingw.s code?

from vscode-amiga-debug.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

It seems GDB can single step assembly instructions. See here: https://forum.qt.io/topic/35652/debugging-inline-assembly
I‘ll see if I can implement something like this.

from vscode-amiga-debug.

rjobling avatar rjobling commented on May 2, 2024

That would be wonderful! Thank you.

from vscode-amiga-debug.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

Hey, I just checked that. If you select Amiga: Set Force Disassembly in the command-palette to Forced, the extension always shows assembly and you can now use the debugger's step function to step single instructions.

from vscode-amiga-debug.

rjobling avatar rjobling commented on May 2, 2024

That sounds good but I don't think I can use that with the 1.0 release I have. I'm not sure how to install the latest if I just pull the master zip from github here?

from vscode-amiga-debug.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

That‘s already in 1.0

from vscode-amiga-debug.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

You may want to have a look at the latest preview build.

from vscode-amiga-debug.

rjobling avatar rjobling commented on May 2, 2024

I didn't realize I needed to run the debugger first to get that command to show in the palette. But yes, it's there in 1.0. Will check out the preview. Seems like lots of good progress!

from vscode-amiga-debug.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

Yeah, that's a setting that only affects the current debug session.

from vscode-amiga-debug.

rjobling avatar rjobling commented on May 2, 2024

I've been using this for debugging with 1.1.0 and wanted to share that it has been working really well! Thank you.

Doing a reasonable amount of assembler debugging makes me wish there were more ways to view registers. Would it be possible to expand the register view so it'll show the decimal values alongside the hex. And could it also show the values for upper/lower words or all four bytes? Would be very helpful if that isn't too difficult to add.

from vscode-amiga-debug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.