Xojo 2025r1 continues to skip breakpoints

this breakpoint is consistently ignored:

unless I add this one below it:

It’s actually even stranger than described: that top breakpoint breaks once at the first iteration of the loop (when tif_tilesAcrossCtr=0) even w/o the 2nd breakpoint, then never again unless I set the second one.

I see this anomaly more often than I should. Totally unpredictable, and makes debugging very annoying when you expect breaks where they should happen.

And please don’t ask for a stripped down sample project: this is a double-debugging session with a console app being debugged at the same time as its master app that called the console helper via IPC. So no way I can send you a sample project. But it’s been years that these breakpoint issues persist.

2 Likes

Suggestions:

  1. If you have access to the pre-release builds see if you can still repeat the problem.

  2. It is possibly a sequence of code statements in that method that is messing the debugger up. You shouldn’t need to produce a stripped down version of your project but you probably need to make a stripped down version of that method that can be executed by itself.

I’m counting 8 lines of indented code so a refactor would be a good idea at some point in the future.

5 Likes