Comments (11)
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.
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.
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.
That would be wonderful! Thank you.
from vscode-amiga-debug.
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.
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.
That‘s already in 1.0
from vscode-amiga-debug.
You may want to have a look at the latest preview build.
from vscode-amiga-debug.
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.
Yeah, that's a setting that only affects the current debug session.
from vscode-amiga-debug.
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)
- Resource bitmap colors are inverted. HOT 1
- Could the debug text font be changed? HOT 3
- Linker not always capable of resolving xref in vasm results HOT 3
- 'index' is not a constant expression when changing main.c to main.cpp HOT 1
- macOS/FS-UAE: Error: the description can't be converted into a problem matcher HOT 4
- MacOS : fatal error: cannot execute 'cc1': execvp: No such file or directory HOT 8
- settings.json wrong? HOT 3
- gcc8_a_support missing on new project HOT 3
- Emulator exited with code/signal 127 before debugger could connect. HOT 7
- fs-uae hang on macos sonoma HOT 46
- Display variable contents when exploring call stack HOT 1
- Linking against FFP ROM symbols HOT 1
- MacOS CI fails HOT 1
- auto update shrinklerstats, disassembly views if underlying file is changed
- Trouble using 1.7.6 on MacOS Sonoma HOT 3
- amigaprofile palette R&B swapped? HOT 1
- Split compiler into separate project HOT 5
- WinUae slow startup
- Clear Cache before VBR call in default demo. HOT 1
- Setting new values in the debugger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-amiga-debug.