Files
GDB-tutorial/GDB-Debug-cycle-Rerunning-and-Reviewing.adoc

9 lines
414 B
Plaintext

= *GDB Debug Cycle -- Rerunning and reviewing software*
To disable all the breakpoints applied, use command `disable`.
To enable it again, we can use the command `enable`.
To load the executable with new updated symbols due to the changes in the source code, we can use command `file ./<executable>`.
This way don't need to create a new session of GDB each time we compile the source code with updated changes.