Previous: $CC: C/C++ Style Comments Switch To the Table of Content Next: $I: I/O Checking Switch

- 3.2.7 -
Compiler Directives
Switch and Parameter Directives

$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: $CC: C/C++ Style Comments Switch To the Table of Content Next: $I: I/O Checking Switch
$CC: C/C++ Style Comments Switch Table of Content $I: I/O Checking Switch

- 3.2.7 -