Inspect Manual
Using Inspect With TAL and pTAL
Inspect Manual—429164-006
13-4
Examples
A code location must include scope-name qualification if it refers to a location
outside the current scope. Inspect assumes a code location is in the current scope
if no explicit scope qualifier is stated.
The STATEMENT code unit and TAL or pTAL statements
Inspect recognizes these as statements:
Simple statements (including machine instructions in a CODE statement) that
are not part of a composite statement
Statements in a compound statement (BEGIN...END)
The parts of a composite statement
For TAL programs, use caution when specifying the procedure base as the location
of a code breakpoint; doing so can result in the modification of P-relative data or
alteration of subprocedure code.
Examples
The following examples assume a TAL procedure named TPROC that contains the
label T^LABEL and the subprocedure TSUB, which in turn contains the label
T^SUBLABEL:
These examples assume a current scope path of #TPROC:
Code Location Specifies
#TPROC The code base of the procedure TPROC.
#TPROC.TSUB The entry point of subprocedure TSUB.
#TPROC.T^LABEL The statement following the label T^LABEL.
Code Location Specifies
TPROC The primary entry point of the procedure TPROC.
TSUB.T^SUBLABEL The statement following the label T^SUBLABEL.