a few days ago I finished some debugging feature plans I had for bsnes-plus in order to debug some games I work on.
As it would be nice to maybe create a pull request to maybe merge it into the original bsnes-plus version I'd like to have some people to test the new feature.
You can download and compile it from this page:
New features of the debugger are:
- The disassembler and debugger are now merged into one window.
- The disassembler has some simple syntax highlighting
- The disassembler supports WLA symbol files (located as .sym file in the same directory as the ROM)
- The disassembler displays the address names instead of the addresses, if known
- You can follow JMP and BRA addresses by clicking on them
- You can toggle breakpoints by clicking on the address
- You can name addresses by right clicking on the line
- There is an index of all names (=Symbol) which can be filtered
- You can add comments to disassembled lines
- There is a feature to break on BRK opcodes
- You can pass --break-immediately to the disassembler to debug from the very beginning
- A new debug port which allows you the log static messages directly from your ROM
- The disassembler tries to figure out the upfollowing code, even if its the first time you disassemble it
- Displays some simple loops
- If activated, all names and comments will be stored in a .sym file when closing the emulator for next time
- Does this actually work on Mac and Windows? (I only work using Linux)
- Did I accidentally remove an important feature?
- Is there a must-have-feature you really, really would miss here?
- I only tested the main CPU, the other processors should still work but have very limited features. Does this still work?
- Are there some new bugs I missed? (If so, please let me know which game and how to reproduce)