Language:
Русский
English
$L: Local Symbol Information Switch
Enables or disables the generation of local symbol information.
Syntax: {$L+} or {$L-}
Default: {$L+}
Type: Global
Menu Command: Options|Compiler|Local Symbols
Remarks
Local symbol information consists of
- the symbols in the module's implementation part (names and types of all
local variables and constants in a module), and
- the symbols within the module's procedures and functions
When local symbols are on for a given program or unit, you can use the stand-alone or integrated debugger to examine and modify the module's local variables.
Calls to the module's procedures and functions can be examined via the View|Stack window or with Debug|Call Stack.
The Options|Linker|Map File option produce local symbol information for a given module only if that module was compiled in the $L+ state.
For units, the local symbol information is recorded in the unit file, along with the unit's object code. Local symbol information increases the size of the unit files and takes up additional room when you compile programs that use the unit. It does not affect the size or speed of the executable program.
The Local Symbol Information switch is usually used with the Debug Information switch $D.
NOTE: The $L directive is ignored if Debug Information is off ($D-).