SYS(4204) - Active Document Debugging

Enables or disables debugging support for Active Documents in the Visual FoxPro debugger.

SYS(4204 [, 0 | 1])

Return Values

Character

Parameters

  • 0
    Turns off Active Document hosting in Visual FoxPro, preventing you from debugging an Active Document in the debugger.
  • 1
    (Default) Turns on Active Document support in Visual FoxPro, making it possible for you to debug an Active Document in the debugger.

Remarks

Returns the empty string.

Use SYS(4204) to debug Active Documents within the Visual FoxPro debugger. Executing SYS(4204, 1) allows Visual FoxPro to act as an Active Document server so you can debug an Active Document. Executing SYS(4204, 0) turns off Active Document hosting.

Note   You must add SET STEP ON in your Active Document code to open the debugger.

See Also

_RUNACTIVEDOC System Memory Variable | SET STEP Command | Active Documents