LaiNES icon indicating copy to clipboard operation
LaiNES copied to clipboard

Debugger

Open kraln opened this issue 8 years ago • 7 comments

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.

kraln avatar Nov 29 '16 12:11 kraln

This would be beautiful and I'd love to work on it.

AndreaOrru avatar Nov 29 '16 14:11 AndreaOrru

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

kraln avatar Nov 30 '16 00:11 kraln

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?

kraln avatar Dec 03 '16 13:12 kraln

I really like Agar.

We could try to reimplement the current GUI using that, to start with.

AndreaOrru avatar Dec 04 '16 09:12 AndreaOrru

We should support symbolic debugging as well, with the same format as FCEUX http://www.fceux.com/web/help/fceux.html?NLFilesFormat.html

kraln avatar Dec 23 '16 07:12 kraln

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 )

kraln avatar Dec 29 '16 16:12 kraln

Can't comment on any of them. However, the more minimal, the better.

AndreaOrru avatar Jan 05 '17 22:01 AndreaOrru