UMBC CMSC 201
Fall '06

CSEE | 201 | 201 F'06 | lectures | news | help

Debugging using GDB

Introduction

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 F'06 | lectures | news | help

Tuesday, 22-Aug-2006 07:14:17 EDT