Purpose
Controls the amount of debugging traceback
information that is included in the object files.
Syntax
>>- -q--tbtable--=--+-full--+----------------------------------><
+-none--+
'-small-'
Parameters
- full
- The object code contains full traceback information. The program
is debuggable, and if it stops because of a runtime exception, it
produces a traceback listing that includes the names of all procedures
in the call chain.
- none
- The object code contains no traceback information at all. You
cannot debug the program, because a debugger or other code-examination
tool cannot unwind the program's stack at run time. If the program
stops because of a runtime exception, it does not explain where the
exception occurred.
- small
- The object code contains traceback information but not the names
of procedures or information about procedure parameters. You can debug
the program, but some non-essential information is unavailable to
the debugger. If the program stops because of a runtime exception,
it explains where the exception occurred but reports machine addresses
rather than procedure names.
Defaults
- Code compiled with -g or without -O has
full traceback information (-qtbtable=full).
- Code compiled with -O or higher optimization
contains less traceback information (-qtbtable=small).
Usage
This option is most suitable for
programs that contain many long procedure names, such as the internal
names constructed for module procedures. You may find it more applicable
to C++ programs than to Fortran programs.
You can use this
option to make your program smaller, at the cost of making it harder
to debug. When you reach the production stage and want to produce
a program that is as compact as possible, you can specify -qtbtable=none.
Otherwise, the usual defaults apply.
Restrictions
To
use the performance tools, such as tprof,
in the AIX® Performance
Toolbox, you must compile the Fortran programs with -qtbtable=full.