Compiler Directives Delphi

1 {$DebugInfo Off}
2 {$DebugInfo On}


Description
The $DebugInfo 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 $DebugInfo on are minimal.

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


Related commands
$D 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