Compiler Directives Delphi

1 {$D-}
2 {$D+}


Description
The $D compiler directive determines whether Delphi builds debug information for the application.

By default, Delphi builds the information, which provides the line number when a program abnormally terminates.

The overheads for keeping $D on are minimal.

Notes
$DebugInfo is equivalent to $D.
The default value is $D+


Related commands
$DebugInfo Determines whether application debug information is built
$LocalSymbols Determines what application debug information is built
$ReferenceInfo Determines whether symbol reference information is built
$Y Determines whether application symbol information is built