hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.4k stars 2.19k forks source link

ImGui debugger #19609

Closed hrydgard closed 2 weeks ago

hrydgard commented 2 weeks ago

Initial implementation of an imgui-based debugger. image

Needs work and styling and everything, but it's a start.

Sure, we already had one cross platform debugger (the web one), but having one integrated is, in my opinion, quite a bit nicer.

Of course, this is just a start, but it works to step through code and set breakpoints and stuff.

One side effect of running it "in-loop" is that Break will no longer randomly break anywhere in a frame, but will break where the PC is at the end of the frame. Might add a "random break" later...

hrydgard commented 2 weeks ago

woops, the last commit was the wrong one. Fix for the black background coming up in the next commit.