Debug Property

Visual Studio .NET 2003

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

Object.Debug[ = lExpression]

Property Values

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 is not 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.


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.

See Also

COMPILE | Project Information Dialog Box

Applies To: Project Object