Ax51 User's Guide

DEBUG Assembler Directive

Abbreviation

DB

Arguments

None.

Default

Debug information is not included in the object file.

µVision

Options — Output — Debug Information.

Description

The DEBUG directive specifies that symbolic and line number information is included on the object module. This information is used by the debugger (and by emulators) to provide source-level, symbolic debugging.

Note

  • Including debugging information in the object module has no impact on the size of the code generated.
  • Line number information may be disabled with the NOLINES directive.
See Also

NODEBUG, NOLINES

Example
A51 SAMPLE.ASM DEBUG

$DB