Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger #20

Open
kraln opened this issue Nov 29, 2016 · 7 comments
Open

Debugger #20

kraln opened this issue Nov 29, 2016 · 7 comments

Comments

@kraln
Copy link
Contributor

kraln commented Nov 29, 2016

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.

@AndreaOrru
Copy link
Owner

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

@kraln
Copy link
Contributor Author

kraln commented Nov 30, 2016

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
Copy link
Contributor Author

kraln commented Dec 3, 2016

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?

@AndreaOrru
Copy link
Owner

I really like Agar.

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

@kraln
Copy link
Contributor Author

kraln commented Dec 23, 2016

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

@kraln
Copy link
Contributor Author

kraln commented Dec 29, 2016

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 )

@AndreaOrru
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants