When using gdb for debugging some code,it sometimes repeats some code fragments several times while using next command, after this repeat, with the n command, it continues sequentially over program lines normally. What is the reason of this strange behaviour? Or anyone had this problem before? What could be the fix for this? I have GNU gdb (GDB) 7.2-ubuntu.
-
A log showing this behavior would be nice, cannot reproduce...Fredrik Pihl– Fredrik Pihl2011-06-08 20:41:05 +00:00Commented Jun 8, 2011 at 20:41
-
not clear what you want from me but most of the time this happens when I try to step into templates, and optimization could be another source...Umut Tabak– Umut Tabak2011-06-08 20:45:23 +00:00Commented Jun 8, 2011 at 20:45
Add a comment
|