Enable or disable debug features within system component user code.
SYS(2030[, 0 | 1])
- Disables the debug features.
- Enables debug features so you can debug system component code.
Numeric. Value of the current setting.
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).