I want to add some breakpoints while gdb is executing . How to suspend running gdb and insert breakpoint and continue from there . I tried ctrl+z , it kills the gdb process.
Ctrl-c breaks the execution of your program within gdb, and allows you to insert any breakpoints you like. Stopping is very well explained in the manual. I would suggest you read it, it gives you an huge advantage when debugging.
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