-
Notifications
You must be signed in to change notification settings - Fork 68
Debugger
Matt Godbolt edited this page Oct 22, 2015
·
7 revisions
jsbeeb features a simple debugger.
Bring up the debugger with ctrl-HOME.
Once in the debugger the following keys are active:
- g - resume normal running
- n - single step to the next instruction
- m - step "over" that is, single step but don't follow JSRs
- o - step "out" that is, run until an RTS
- j / k - scroll up and down in the disassembler view
- u / i - scroll up and down in the memory view. Hold shift to scroll faster
- b - go "back" in the disassembler stack. clicking the blue highlighted addresses takes you to the destination of JSR etc. 'b' pops back to where you were disassembling before.
- t - toggle breakpoint on the current instruction (also you can click in the margin)
Breakpoints are a little trickier currently. They're supported, but need work; you need to enter them in the Javascript console.