BACKTRACK PSAM/DAPDB Commands BACKTRACK
NAME
backtrack - display the procedures currently on the stack
SYNOPSIS
backtrack
DESCRIPTION
The backtrack command displays the currently active pro-
cedures as they appear on the stack. The display begins
with the statement:
Stack Listing - current level first
The current level of the stack is also referred to as the
stack top. It is occupied by the procedure which was most
recently entered but not exited in the executing program.
The backtrack command lists the procedures in order from the
top to the bottom of the stack.
FORTRAN-PLUS procedures are displayed as follows:
FORTRAN-PLUS <proctype> <procname> at Line <line>
in File <file>
where the field <proctype> describes the type of procedure
(Subroutine or Function), <procname> is the procedure name,
<line> is the currently executing line and <file> is the
source file in which that line occurs. Line and file
details may be omitted if the relevant diagnostic informa-
tion is not available.
APAL procedures are displayed thus:
APAL Procedure <procname> + <offset>
where <procname> holds the procedure name. The field
<offset> is an instruction offset relative to the start of
the procedure. If the procedure is at the stack top <offset>
is the offset of the last instruction executed. Otherwise it
is the offset of the calling location in the procedure.
AMT-supplied procedures are displayed thus:
System Procedure <procname>
where <procname> is the name of the procedure.
If the currently selected procedure is on the stack it is
indicated by a > character beside its entry in the stack
backtrack.
AMT Release 4.1S Last change: 5th June 1989 1
BACKTRACK PSAM/DAPDB Commands BACKTRACK
SEE ALSO
procedure, top
AMT Release 4.1S Last change: 5th June 1989 2