HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 43
TRACE EXEC and UNTRACE EXEC
The TRACE EXEC statement traces lines, beginning when the first specified
line executes and ending when the last specified line executes. If lines
are not specified, TRACE EXEC applies to the entire program. If the first
specified line does not exist or is not executed, TRACE EXEC does not
trace lines. If the last specified line does not exist or is not exe-
cuted, the TRACE EXEC statement does not stop tracing lines (unless an
UNTRACE EXEC or TRACE OFF statement executes).
The UNTRACE EXEC statement cancels the TRACE EXEC statement (for every
line).
Syntax
{EXECUTION}
TRACE {EXEC } [
line_id1
[TO
line_id2
]]
{EXECUTION}
UNTRACE {EXEC }
Parameters
line_id1
Line tracing begins when this line executes. If this
line does not execute, line tracing never begins.
Default is the first program line.
line_id2
Line tracing ends when this line executes. If this line
is not specified or does not execute, line tracing does
not end until an UNTRACE EXEC or a TRACE OFF statement
executes.
TRACE EXEC VARS and UNTRACE EXEC VARS
The TRACE EXEC VARS statement traces variables, beginning when the first
specified line executes and ending when the last specified line exe-
cutes. If lines are not specified, TRACE EXEC VARS applies to the entire
program. If the first specified line does not exist or is not executed,
TRACE EXEC VARS does not trace variables. If the last specified line
does not exist or is not executed, the TRACE EXEC VARS statement does not
stop tracing variables (unless an UNTRACE EXEC or TRACE OFF statement
executes).
The UNTRACE EXEC VARS statement cancels TRACE EXEC VARS (for every
line).
Syntax
{EXECUTION} {VARS}
TRACE {EXEC } {VAR } [
line_id1
[TO
line_id2
]]
{EXECUTION}{VARS}