Debug Property

Applies To   See Also

Specifies if debugging information is included with compiled source code in a project.

Syntax

Object.Debug[ = lExpression]

Settings

lExpression

The settings for the Debug property are:

Setting Description
True (.T.) (Default) Debugging information is included with the compiled source code.
False (.F.) Debugging information isn’t included and you cannot view a program’s execution in the Trace window or use MESSAGE(1) to return the source code for a line that causes an error. Setting lExpression to false (.F.) is identical to including the NODEBUG argument in the COMPILE command.

Remarks

Source code in a project includes program and format files, source code in form, label, report, and visual class libraries, and stored procedures in databases. The Debug property corresponds to the Debug info check box on the Project tab of the Project Information dialog box.