共用方式為


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

CLEAR DEBUG | DEBUG | SET_ECHO