SET STEP Command

See Also

Opens the Trace window and suspends program execution for debugging.

Syntax

SET STEP ON

Arguments

ON

Opens the Trace window and suspends program execution.

Remarks

SET STEP is used to debug programs. You can insert SET STEP ON in a program at the point where you'd like to execute individual commands.

For information about the Trace Window, see Chapter 14, Testing and Debugging Applications, in the Programmer's Guide.

You can pass parameters to a program and then trace its execution by following these steps:

  1. Open the Trace window.

  2. From the Trace window's Program menu, choose Open and select the program to trace.

  3. Set a breakpoint on the first executable line of the program.

  4. In the Command window, DO the program WITH the parameters.