BACKTRACE (BT)
Syntax BACKTRACE
(BACKTRACE levels)
 
Explanation The BACKTRACE command is only available in the Debugger window. It prints the the current chain of the active procedures. A number may be given as an optional second input to limit the number of levels printed to the number given.

See also CONTINUE.

Examples The following procedure contains a PAUSE command which causes the program to stop and to open the Debugger window.

TO FAC :N
    IF :N = 1 [PAUSE OP 1][OP :N * FAC :N - 1]
END

The Debugger window pops up.

bt
At: PAUSE OP 1
Called by: IF TRUE [PAUSE OP 1] [OP :N * FAC :N - 1]
Called by: FAC 1
Called by: * 2
Called by: OP * FAC :N - 1
Called by: IF FALSE [PAUSE OP 1] [OP :N * FAC :N - 1]
Called by: FAC 2
Called by: * 3
Called by: OP * FAC :N - 1
Called by: IF FALSE [PAUSE OP 1] [OP :N * FAC :N - 1]
Called by: FAC 3

TopIndex