I have an extremely rare crash bug in my BlitzPlus app, that just causes it to immediately drop to the desktop. I'm sure if it ever happened while I was running it with the IDE open in debug mode I'd get a helpful error showing me that I probably tried to access an invalid object at some point (most sudden drops have lead to that).
Anyway, I haven't been able to reproduce it while playing in debug mode yet, since as I said it happens very rarely so probably has a very specific set of circumstances before it will happen. So I wanted to somehow find a way to make the executable itself spit out some kind of error in a log file or something to give me a hint of what's going on. But I can't find any error trapper routines documented anywhere, so I seem to have no way to spit out an error rather than dropping to the desktop. How does anyone debug a released product from customer reports with this??
Anyway, I thought perhaps if I compiled the .exe in debug mode it would be helpful, but even though I get a warning when compiling it that debug mode executables may run slower, it seems to run exactly the same and it still doesn't spit out any errors or log files that I can see (I even made it crash on purpose to check). So what exactly is the use of compiling a debug mode version of an exe in BlitzPLus? And does anyone have any tips on how I can track down a crash bug that I can't reproduce on demand (besides just playing it myself in debug mode for hours on end hoping it crashes)?
Anyway, I haven't been able to reproduce it while playing in debug mode yet, since as I said it happens very rarely so probably has a very specific set of circumstances before it will happen. So I wanted to somehow find a way to make the executable itself spit out some kind of error in a log file or something to give me a hint of what's going on. But I can't find any error trapper routines documented anywhere, so I seem to have no way to spit out an error rather than dropping to the desktop. How does anyone debug a released product from customer reports with this??
Anyway, I thought perhaps if I compiled the .exe in debug mode it would be helpful, but even though I get a warning when compiling it that debug mode executables may run slower, it seems to run exactly the same and it still doesn't spit out any errors or log files that I can see (I even made it crash on purpose to check). So what exactly is the use of compiling a debug mode version of an exe in BlitzPLus? And does anyone have any tips on how I can track down a crash bug that I can't reproduce on demand (besides just playing it myself in debug mode for hours on end hoping it crashes)?