Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » debugging speed exes
debugging speed exes [message #36094] |
Fri, 27 April 2012 00:00 |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Hello,
I realise I should know this by now but I have a crash which only shows up in my optimal and speed builds. I can get it to crash when I debug my speed build but then I have no idea what to do with the resulting information. Even if I could find out what function it is in when it crashes that could be useful.
Anyone got any tips or info on debugging speed builds with theIDE please?
|
|
|
|
Re: debugging speed exes [message #36096 is a reply to message #36094] |
Fri, 27 April 2012 07:26 |
|
Hi Nick,
Just a little warning Be aware that even though the debugging symbols are present, the debugger might tell you slightly incorrect information. Due to optimizations often some variables can't be inspected and even some line numbers can be a little off, especially for inlined functions. So if the debugger points you to a code which looks perfectly correct, it might really be correct
Another thing to try might be turning the optimizations off one by one... Or compiling only parts of the program with speed optimization - you can start by allowing it for some packages and after localizing the problem, you can step down to files level. That way, you can hunt the problem down at least to few functions in that file.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Fri Sep 20 13:20:29 CEST 2024
Total time taken to generate the page: 0.03090 seconds
|