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
In this version of Visual FoxPro, whenever user code runs a system component, such as _GENMENU or _BROWSER, directly 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 this new default behavior, then re-enabling the behavior after debugging by issuing SYS(2030, 0).
You must insert this command as part of the system component code; it doesn't function from the command window.