bsnes-plus
bsnes-plus copied to clipboard
Add a memory watch logging in the main debugger window?
For example:
909c47 lda #$0080 A:909c X:000f Y:0000 S:01f9 D:0000 DB:90 NvmXdizc V:251 H:168 F:32 $7E0000:0A
would be really helpful, since I have to keep viewing the live info in the memory editor.
like, there is a button labeled "Add RAM watch" and gives you a column of boxes similar to the breakpoint editor. You can also set settings to either make it display 8 or 16-bit (16-bit which also pulls a value address+1), display the value in decimal or hex, etc.
Not a bad idea (I've wanted to implement some kind of RAM watch list for a while now), but I'm holding off on adding debugging GUI features for the time being until the new debugger frontend is implemented (see discussion thread here). You may want to discuss your ideas there or wait until the new GUI starts to be officially merged into the project (which will happen after the upcoming v4 release).
I was thinking about this the other day, and I think the cleanest option would probably be a separate window similar to the breakpoint window. Click to add a new address, with a source bus selection drop-down, and then it would just show the current value. Maybe have an auto-refresh checkbox/manual refresh button like the memory editor. Also, symbol awareness like the breakpoint window has would be nice.