Keil Logo

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.
See Also

NODEBUG, NOLINES

Example
AA SAMPLE.ASM DEBUG

$DB
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.