Partager via


SET STEP Command

Opens the Trace window and suspends program execution for debugging.

SET STEP ON

Parameters

  • 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 Testing and Debugging Applications.

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.

See Also

Reference

SET ECHO Command

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)