LaiNES
LaiNES copied to clipboard
Debugger
It would be quite nice (especially for development of the emulator, but also for development of homebrew and/or examining commercial games) for some amount of debugging capability. I could imagine, variously:
- ROM Header Viewer
- CPU State Viewer
- PPU State Viewer
- Tilemap RAM Viewer
- Palette Viewer
Etc. ( example: http://www.fceux.com/web/assets/debugging_environment_1900px.png )
I don't know if this aligns with the goals of the project or not.
This would be beautiful and I'd love to work on it.
Interesting thread on NESDev forum about the need for an open source emulator that runs nicely in *nix/osx and has a good debugger: http://forums.nesdev.com/viewtopic.php?f=5&t=14728
How do you feel about brining in Rose ( https://github.com/freeors/Rose ) or Agar ( http://libagar.org/ ) for the UI for the debugger and other pieces?
I really like Agar.
We could try to reimplement the current GUI using that, to start with.
We should support symbolic debugging as well, with the same format as FCEUX http://www.fceux.com/web/help/fceux.html?NLFilesFormat.html
I had some fights with Agar, and Nanogui. They ... are messy. All of these frameworks assume that SDL is being used in GL mode, which requires a bit of massaging. I think that IMGUI might actually be the best choice here (example: https://github.com/ocornut/imgui/blob/master/examples/sdl_opengl2_example/main.cpp )
Can't comment on any of them. However, the more minimal, the better.