Technical data
16
Chapter 1: Compiling, Linking, and Running Programs
Debugging
The compiler system provides a source-level, interactive debugger called
dbx that you can use to debug programs as they execute. With dbx you can
control program execution to set breakpoints, monitor what is happening,
modify values, and evaluate results. dbx keeps track of variables,
subprograms, subroutines, and data types in terms of the symbols used in
the source language. You can use this debugger to access the source text of
the program, to identify and reference program entities, and to detect errors
in the logic of the program.
Reference Information
For a complete list of –g driver options, see the f77(1) manual page. See the
dbx(1) manual page for information on the debugger. For a complete
description see the dbx Reference Manual.
Profiling
The compiler system permits the generation of profiled programs that, when
executed, provide operational statistics. This is done through driver option
–p (which provides pc sampling information) and the pixie and prof
programs.
A variety of options and methods of profiling are available. To learn more
about them, read Chapter 2 of the IRIX Series Compiler Guide, which
describes the advantages and methods of profiling. It also gives examples of
the various options and commands to achieve the desired results. See the
prof(1) manual page for detailed reference information.










