gameboy-doctor icon indicating copy to clipboard operation
gameboy-doctor copied to clipboard

Suggestion: add the first four bytes from the stack top to the trace

Open Ptival opened this issue 1 year ago • 1 comments

I'm currently debugging a problem with my emulator where it appears we don't pop the same value from the stack.

This is in general not super practical to debug as I don't know how far before we started disagreeing on the stack state. I think it'd be nice to have a small fragment of the stack on the trace.

Ptival avatar Sep 01 '24 22:09 Ptival

Sounds reasonable, want to try a PR? Maybe with a --with_stack argument so people can choose not to use this.

robert avatar Sep 02 '24 05:09 robert