DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the command line interface of debug

Before you begin

This tutorial is organized as a series of debugging sessions. The debugging sessions attempt to show how debug can be used in actual applications. They are each followed by several subtopics containing examples that use the individual commands, or explain some of the finer points of the information on debugging. These examples may prove to be more useful than the debugging sessions to readers who are already comfortable with using debuggers.

The debugging sessions are grouped into four subtopics covering the basics:

  1. Debugging single-process programs compiled with debugging information (-g)

  2. Multi-process debugging

  3. Assembly level debugging (debugging without -g)

  4. Debugging a multithreaded application
Even if you don't expect to do any multi-process or assembly level debugging, consider skimming those discussions since the commands and techniques described in them are available and can be useful for debugging simple programs.
Next topic: Programs used in the sessions
Previous topic: Philosophy

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004