Keil Logo Arm Logo

C166 User's Guide

DEBUG Compiler Directive

Abbreviation

DB

Arguments

None.

Default

No Debug information is generated.

µVision

Options — Output — Debug Information.

Description

The DEBUG directive instructs the compiler to include debugging information in the object file. By default, debugging information is excluded from the generated object file.

Debug information is necessary for the symbolic testing of programs. It contains global and local variable definitions and their addresses, function names and addresses, and line number information for source code. Debug information contained in each object module remains valid through the Link/Locate process and may be used by the µVision debugger or by an emulator.

Example
C166 SAMPLE.C DEBUG

#pragma db

Keil logo

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.