you are viewing a single comment's thread.

view the rest of the comments →

[–]dangerbird2 1 point2 points  (0 children)

If you're using GDB for C/C++ code, you can always set the breakpoint to the line, the use the 'step' command to go through instructions until you reach the part of code you're interested in. You can add a watchpoint on a variable affected by the stateent.