Program debugging
``Using the command line interface of debug''
and
``Using the graphical interface of debug''
contain information regarding the symbolic debugger debug, which allows you
to use the symbolic names in your program to pinpoint where a problem has occurred.
You can run your program under control of debug
to see what the program is doing up to the point at
which it fails.
Alternatively, you can use it to
examine a core image file left by a program that failed.
``Using the command line interface of debug''
contains information on the Command Line Interface (CLI) debugger, along with a tutorial.
``Using the graphical interface of debug''
contains information on the Graphical User Interface (GUI) debugger, along with a
tutorial.
NOTE:
Another analysis tool, lint, is described in
``Analyzing your code with lint''.
Use lint to check your program for portability and cross-file
consistency, and to assure it will compile.
Use debug to locate a bug.
Next topic:
Program analysis
Previous topic:
Introduction to debugging and analyzing C and C++ programs
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004