Comments (4)
Hmm.. GDB needs to set breakpoints. The emulated Amiga knows nothing about breakpoints.
from vscode-amiga-debug.
What about a reliable way of crashing the emulation that the debugger would catch? I'm just trying to put together a useful assert macro.
from vscode-amiga-debug.
Yeah sure, you can do that. We're just doing an infinite loop and hit the pause button. However, the debugger breaks on address error (unaligned access, needs to be generated via inline asm) and "TRAP#7" opcode. So you could use either method to trigger a crash that the debugger notices.
from vscode-amiga-debug.
Thanks I used an unaligned write and that does the trick.
from vscode-amiga-debug.
Related Issues (20)
- any chance of getting stdlib? HOT 3
- fatal error: stdint.h: No such file or directory HOT 3
- MacOS: no more F5 to run the debugger HOT 2
- 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
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.