Syntax of the program execution trace

The execution trace is enable by using the --trace option of fglrun.

In order to enable program execution trace, start the fglrun command with the --trace option:

fglrun --trace program[.42r] [argument [...]]
  1. program is the name of the BDL program.
  2. argument is a command line argument passed to the program.

Function calls are printed to stderr during program execution.

By default, the trace starts in MAIN.

To define a list of functions to be traced, use the FGLTRACE_FUNCTIONS environment variable.

To exclude a set of functions from the trace, use the FGLTRACE_EXCLUDE environment variable.