Previous: 3.2.6. $CC: C/C++ Style Comments Switch To the Table of Contents Next: 3.2.8. $I: I/O Checking Switch
3.2.6. $CC: C/C++ Style Comments Switch Table of Contents 3.2.8. $I: I/O Checking Switch

- 3.2.7. -
Table of Contents
3. Compiler Directives
3.2. Switch and Parameter Directives
3.2.7. $D: Debug Information Switch


3.2.7. $D: Debug Information Switch


Targets: MS-DOS, OS/2, Win32


Compiler directives

Switches on/off the generation of debug information.

Syntax:
  {$D+} or {$D-}
Default:
  {$D+}
Remarks: Debug information consists of a line-number table for each procedure. The table maps object-code addresses into source-text line numbers.

If {$D+} defined, you can use built-in Debugger to single-step, step over and set breakpoints in that module.

Debug information increases the size of unit files and increases memory usage when you compile programs that use the unit.

The Debug Information switch is usually used with the Local Symbols switch.

See also:
$L: Local Symbol Information Switch.


Previous: 3.2.6. $CC: C/C++ Style Comments Switch To the Table of Contents Next: 3.2.8. $I: I/O Checking Switch
3.2.6. $CC: C/C++ Style Comments Switch Table of Contents 3.2.8. $I: I/O Checking Switch

- 3.2.7. -