SmartPascal
$LocalSymbols
Compiler Directive
Determines what application debug information is built
1   {$LocalSymbols Off}
2   {$LocalSymbols On}
Description
The $LocalSymbols compiler directive determines whether Delphi saves local symbols  when building debug information for the application.
 
By default, Delphi builds the routine, variable and line number information, but this can be dsiabled by setting $LocalSymbols off.
 
The overheads for keeping $LocalSymbols on are minimal.
Notes
$LocalSymbols is equivalent to $L.

The default value is $LocalSymbols On
Related commands
$DebugInfo Determines whether application debug information is built
$L Determines what application debug information is built
$ReferenceInfo Determines whether symbol reference information is built
$Y Determines whether application symbol information is built
 
Example code :