|gdb does not follow the logical flow of my code [message #557045]
||Fri, 03 September 2010 17:42
Registered: September 2010
I am debugging c++ code from eclipse cdt helios version with gdb 7.1: The code IS actually executed correctly, but the line highlight behaves in the most schizophrenic way: instead of following the logic in my code, it jumps a few lines up and down or just skips them; it also delays updating variable values in the "Varibales" tab and printing my couts on eclipse's console. |
It is really frustrating, especially since the "Varaiables" tab itself seems to be most uninformative: changes in most variables are updated straight away or their values read "<value optimized out>".
I installed support for printing STL containers (see http://sourceware.org/gdb/wiki/STLSupport). Could that be the cause of all this mess?
I am very puzzled.
Powered by FUDForum
. Page generated in 0.01992 seconds