Chris Smullian
Chris Smullian

Reputation: 2367

How do I jump to a breakpoint within GDB?

I set a breakpoint, which worked fine.

Is there a way to jump immediately to that breakpoint without using "next" or "step"?

Using "next" or "step", it takes really long to get to the final breakpoint.

Upvotes: 42

Views: 66354

Answers (1)

mgv
mgv

Reputation: 8484

Just press c. It will continue execution until the next breakpoint.

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

Upvotes: 72

Related Questions