Monday, February 21, 2011

How do i jump to a breakpoint within gdb?

Hey folks!

I'm new to gdb and I tried out the following: I set a breakpoint, which worked fine actually, but is there any possibility to jump immediately to that breakpoint without using "next" or "step". Using "next" or "step" takes really long to get to the final breakpoint. I wasn't able to find a faster way. Any help is preciated!

regards chris smullian

From stackoverflow
  • Just press c, it will continue execution until the next breakpoint.

    You can also disable intermediate breakpoints by using disable #breakpointnumber as stated here.

    Chris Smullian : that worked! the link contained useful information, thank you!

0 comments:

Post a Comment