U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
debugging speed exes
https://www.ultimatepp.org/forums/index.php?t=rview&goto=36094&th=6675#msg_36094
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?
]]>nixnixnix2012-04-26T22:00:29-00:00Re: debugging speed exes
https://www.ultimatepp.org/forums/index.php?t=rview&goto=36095&th=6675#msg_36095
UPP rocks!
N ]]>nixnixnix2012-04-27T02:38:15-00:00Re: debugging speed exes
https://www.ultimatepp.org/forums/index.php?t=rview&goto=36096&th=6675#msg_36096
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]]>dolik.rce2012-04-27T05:26:39-00:00