SET DEBUG Command

See Also

Makes the Debug and Trace windows either available or unavailable from the Visual FoxPro menu system.

Syntax

SET DEBUG ON | OFF

Arguments

ON

(Default) Makes the Debug and Trace windows either available or unavailable from the Visual FoxPro menu system.

OFF

Makes the Debug and Trace windows unavailable from the Visual FoxPro system menu. However, when SET DEBUG is set to OFF, you can open the Debug window with SET ECHO ON or ACTIVATE WINDOW DEBUG, and you can open the Trace window with SET STEP ON or ACTIVATE WINDOW TRACE.

Remarks

For more information on using the Trace and Debug windows, see Chapter 14, Testing and Debugging Applications, in the Programmer's Guide.