|
| 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. Note - The OBJECTEXTEND directive may be used to include additional variable type definition information in the object file.
| | See Also | | OBJECTEXTEND | | Example | |
C51 SAMPLE.C DEBUG
#pragma db
|
Related Knowledgebase Articles |
|