UMBC CMSC 201 Spring '02 CSEE | 201 | 201 S'02 | lectures | news | help

Debugging using GDB


GDB is a powerful tool that can be used to monitor your programs as they execute. It allows you to suspend execution on any line, or in response to criteria you specify. It allows you to display and change variables, and trace their status during execution

There are many other things GDB can do that are outside the scope of this introduction. Much more information can be found on the gdb manual page (man gdb), and many tutorials can be found with a simple web search, using gdb and tutorial as keywords.

We'll look at how to Compile your programs to take advantage of GDB

CSEE | 201 | 201 S'02 | lectures | news | help

Thursday, 17-Jan-2002 13:52:21 EST