DelphiBasics
$DebugInfo
Compiler Directive
Determines whether application debug information is built
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
 Author links

 Download this web site as a Windows program.




 
Example code :

   
document.write('
'); document.write('
'); document.write('
');
Delphi Programming Neil Moffatt 2002 - 2020. All rights reserved.  |  Home Page