SET DEBUGOUT Command

Directs debugging output to a file.

SET DEBUGOUT TO [FileName [ADDITIVE]]

Parameters

  • FileName
    Specifies the name of the file to which debugging output is directed. If the file you specify does not exist, it is automatically created. If the file you specify already exists, its contents are overwritten unless you include the ADDITIVE clause.

    Issue SET DEBUGOUT TO to stop direction of debugging output to the file and close the file.

  • ADDITIVE
    Specifies that debugging output is appended to the end of the file specified with FileName.

Remarks

Debugging output that is directed to the file includes ASSERT messages, output from the DEBUGOUT command, and events that are specified with SET EVENTLIST or in the Event Tracking Dialog Box. See the Event Tracking dialog box topic for more information about specifying events to track interactively.

See Also

Reference

ASSERT Command

DEBUG Command

DEBUGOUT Command

SET EVENTLIST Command

SET EVENTTRACKING Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)