This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breakpoints wont trigger
#1
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.
Reply
#2
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.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)