Stepping Over Call Statements

You can step over call statements by using:

You can use F10 (Step) on the Display Module Source display to step over a call statement in a debug session. If the call statement to be run is a CALL operation to another program object, then pressing F10 (Step) will cause the called program object to run to completion before the calling program object is stopped again. Similarly, if the call statement is an EVAL operation where a procedure is called in the expression, then the complete EVAL operation is performed, including the call to the procedure, before the calling program or procedure is stopped again.

Alternately, you can use the STEP OVER debug command to step over a call statement in a debug session. To use the STEP OVER debug command, type:

STEP number-of-statements OVER

on the debug command line. The variable number-of-statements is the number of statements that you want to run in the next step before processing is halted again. If this variable is omitted, the default is 1.



[ Top of Page | Previous Page | Next Page | Contents | Index ]