Share via


SET DEBUG Command

Included for backward compatibility. Makes the Debug and Trace windows either available or unavailable from the Visual FoxPro menu system in versions prior to 5.0.

SET DEBUG ON | OFF

Parameters

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

See Also

Reference

CLEAR Commands

DEBUG Command

SET ECHO Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)