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.
Description. This command jumps the program counter to the specified location. The debugger resumes program execution at that point unless it encounters a breakpoint there.
So just type skip in gdb to skip a line.
To set a breakpoint in source code, click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint.
Just press c. It will continue execution until the next breakpoint.
You can also disable intermediate breakpoints by using disable #breakpointnumber
as stated here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With