Advent - Integrated SNES Debugger Plugin
Debuggers / Special Emulators
|Category||Debuggers / Special Emulators|
|Release Date||06 October 2010|
|Last Modified||06 October 2017|
Imporant: While it could be used by a novice SNES 65c816 hacker, this set of tools is primarily aimed at experienced users that are jaded with the SNES debugging status quo
Advent is a plugin for Notepad++ that bridges the gap between the textual aspect of coding assembly language for the SNES and actually running it in an emulator debugger. It is modeled to some extent after Visual Studio (and other similar graphical frontends to debuggers). Advent as a whole could be thought of as an entity depending upon three modules:
- The Advent plugin DLL (authored by yours truly)
- A special build of byuu’s xkas version 0.06 (see http://byuu.org/programming/)
- A special build of byuu’s bsnes version 0.67 (the debugger build)
This is quite a specific set of tools, but nothing about this setup necessarily dictates that they be used. Notepad++ is Windows only but a comparable editor on Linux or Mac could have a similar plugin developed. Geiger’s Debugger could be interfaced with this debugging protocol without too much fuss. Other assemblers could output the same debugger information. In fact the debug information format ought to be rewritten in the future to be more compact and contain more information, but that’s getting ahead of ourselves.
One thing I should note is that xkas v0.06 has macros and this presented a bit of a stumbling block for outputting debugging information. So stepping over / into a macro may make it seem like you’ve lost the current line marker, but it will reemerge after the end of the macro. Currently only the first instruction of a macro will register in the debug file.