Name
$LocalSymbols Compiler Directive
Syntax
{$L+} // default {$LocalSymbols On} // default {$L-} {$LocalSymbols Off}
Scope
File
Description
If $DebugInfo
is enabled, you can also enable
$LocalSymbols
to store information about
subroutines, types, variables, and source line numbers in a unit. The
symbol information is stored in the .dcu file
and has no impact on the performance or size of the final
.exe or .dll
file. Delphi ignores the
$LocalSymbols
compiler directive when
$DebugInfo
is disabled.
In very large projects, you might save a little bit of time and disk
space by disabling $LocalInfo
, but in most cases,
the savings are minuscule and not worth the effort to disable the
directive.
See Also
$DebugInfo Compiler Directive, $DefinitionInfo Compiler Directive, $ReferenceInfo Compiler Directive |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.