Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-213
Default Value
IN [ num-units [ code-unit ] ]
specifies the step amount as a number of code units. The IN clause directs
STEP to step into a called scope unit if a call occurs in that step range. The
default for num-units is 1; the default for code-unit is STATEMENT.
The IN clause is invalid for PATHWAY requester programs.
OUT [ num-calls ] [ PROC[S] | SUBPROC[S] ]
specifies the step amount as a number of call exits; that is, how many scope
unit calls to return from. The default for num-calls is 1; the maximum value
allowed is 10.
The OUT clause is invalid for PATHWAY requester programs.
The PROCS clause specifies a TAL procedure and can be used in a
subprocedure to step out of the containing procedure. The SUBPROCS clause
specifies a TAL subprocedure and can be used to step out of a TAL
subprocedure. If you specify neither PROCS nor SUBPROCS, STEP OUT
defaults to SUBPROCS if the current location is within a subprocedure;
otherwise, it defaults to PROCS.
Default Value
STATEMENT is the default with code-unit for high-level and INSTRUCTION is the
default for code-unit in low-level. When you omit step-spec entirely, STEP uses 1
STATEMENT in high-level and 1 INSTRUCTION in low-level.
Usage Considerations
Using STEP in Command Lists
If STEP is in a command list, it must be the last command in the list.
Code Units
A code unit consists of the code from the beginning of one unit up to, but not
including, the beginning of the next unit.
Within a single scope unit, code units are counted in logical order of execution.
Consequently, a branch to a label causes the branch target to be counted as the
next unit. (The BSUB machine instruction is not a branch in this sense. Because it
invokes a subprocedure, it is a calling instruction.)
The capability to step by STATEMENTS or VERBS is a high-level capability. If you
are in low-level mode, you can step only by INSTRUCTIONS.
Repeating the Last STEP Command
After you enter a STEP command, you can repeat it by pressing RETURN at the
next Inspect prompt. This ability to repeat continues until you enter any other