SYS(4204) - Active Document Debugging

See Also

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

Syntax

SYS(4204 [, 0 | 1])

Returns

Character

Arguments

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, allowing 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.