EmuNewz Network
Breakpoints wont trigger - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Breakpoints wont trigger (/showthread.php?tid=109402)



Breakpoints wont trigger - TurboC - 12-15-2012

I've been looking at modifying a psp game. As such I've been using jpcsp to step through the assembly to figure out what I want a change.

Last night, when I booted up the emulator and imported my breakpoints, none of them get triggered, even though I haven't modified the game. And it runs fine through sections where I know multiple breakpoints should be triggered.

To my knowledge, I haven't been doing anything different. I've rebooted, re-downloaded the emulator, doublechecked the game isn't any different, etc.

So far as I can tell from stepping through what I can, it thinks only a handful of instructions are being executed (in a loop), and breakpoints on those instructions work fine. The problem is I know instructions other than those are being executed, but for some reason the emulator doesn't think any instructions other than this small set is ever reached.

No errors are printed.

Does anyone have ideas what may have caused this? (Some setting I may be missing?) Has anyone seen anything like this before? Like I said, I don't think it's the game, because nothing is different for that.


RE: Breakpoints wont trigger - gid15 - 12-16-2012

The debugger window has to be open before running the application.
The compiler is generating extra code to stop at breakpoints only if the debugger window is open at the time of compilation.