Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

GDB can

...

make your program stop on specified conditions

...

, examine what has happened, when your program has stopped

...

, and even change things in your program, so you can experiment with correcting the effects of one bug and go on to learn about another.

Please refer to the official GDB documentation for all the information on how to use this tool.

...