STEP [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation
HP Transact Reference Manual
STEP
Continues execution of the Transact/iX program for a specified number of
statements.
Syntax
{STEP} [number_of_steps]
{S }
Parameters
number_of_steps The desired number of Transact statements to execute
until control returns to TRANDEBUG. The default value of
1 is used if you omit this parameter.
Discussion
This command allows you to single-step through the execution of a program
on a statement-by-statement basis. This allows you to check item values
and register values after each statement has executed. As you stop at
each statement, the p-code offset and segment number for that statement
is displayed.
Example
The following example shows how to use the STEP command and the TRACE
CODE command in conjunction with STEP.
TRANDEBUG> STEP
EXECUTION STOPPED:
SYSTEM SEGMENT OFFSET
------------------------------------
PARENT 0 28
TRANDEBUG> STEP 5
EXECUTION STOPPED:
SYSTEM SEGMENT OFFSET
------------------------------------
PARENT 1 56
TRANDEBUG> TRACE CODE ON
TRANDEBUG> STEP 5
EXECUTION TRACE:
SYSTEM SEGMENT OFFSET
------------------------------------
PARENT 0 28
PARENT 0 34
PARENT 0 36
PARENT 1 10
PARENT 1 56
MPE/iX 5.0 Documentation