Generates a traceback table that contains information about each function, including the type of function as well as stack frame and register information. The traceback table is placed in the text segment at the end of its code.


Read syntax diagramSkip visual syntax diagram>>- -q--tbtable--=--+-none--+----------------------------------><

where suboptions are:

none No traceback table is generated. The stack frame cannot be unwound so exception handling is disabled.
full A full traceback table is generated, complete with name and parameter information. This is the default if -qnoopt or -g are specified.
small The traceback table generated has no name or parameter information, but otherwise has full traceback capability. This is the default if you have specified optimization and have not specified -g.

See also #pragma options.


The #pragma options directive must be specified before the first statement in the compilation unit.

Many performance measurement tools require a full traceback table to properly analyze optimized code. The compiler configuration file contains entries to accomodate this requirement. If you do not require full traceback tables for your optimized code, you can save file space by making the following changes to your compiler configuration file:

  1. Remove the -qtbtable=full option from the options lines of the C or C++ compilation stanzas.
  2. Remove the -qtbtable=full option from the xlCopt line of the DFLT stanza.

With these changes, the defaults for the tbtable option are:

Related information