Emu knows where the call came from
- smokku
Emu’s new Call Stack window shows the calls and interrupts that led
to the instruction you’re stopped on.
If Emu stops inside a routine that several parts of your program call,
pick a caller in the stack to see which path you took. The debugger
works that out by walking back through its execution log.
Stepping into a C call can take you through a compiler helper on the way.
With cc65 debug info loaded, Emu’s DAP server skips those helpers when
there’s no source to show. Your editor can see C function names, source
lines and global variables. If the machine is already running, attach to
it and keep the program loaded.
Part of the same work is the --mcp command line switch, but that’s
an interest of your AI agent…