Share via


SYS(2030) - Debug

Enable or disable debug features within system component user code.

SYS(2030[, 0 | 1])

Parameters

  • 0
    Disables the debug features.
  • 1
    Enables debug features so you can debug system component code.

Returns

Numeric. Value of the current setting.

Remarks

Starting with Visual FoxPro 7, whenever user code directly runs a system component, such as _GENMENU or _BROWSER, certain debugging features (profiling, dohistory, breakpoints, and single step) are disabled. SYS(2030, 1) enables you to run debugger on this type of user code by disabling the default behavior, then re-enabling the behavior after debugging by issuing SYS(2030, 0).

See Also

Debugger | SET ASSERTS | SET STEP