Keil Logo

Debugging

When you use µVision IDE and the µVision Debugger, you get complete debug information when you enable Options for Target — Output — Debug Information. For command line tools, the following rules apply.

By default, the C51 Compiler uses the Intel Object Format (OMF-51) for object files and generates complete symbol information. All Intel compatible emulators may be used for program debugging. The DEBUG directive embeds debugging information in the object file. In addition, the OBJECTEXTEND directive embeds additional variable type information in the object file which allows type-specific display of variables and structures when using certain emulators.

The Cx51 Compiler uses the OMF2 object file format. The OMF2 format is also used by the Cx51 Compiler when the directive OMF2 is active. The OMF2 format requires the extended LX51 linker/locater and cannot be used with the BL51 linker/locater. The OMF2 object file format provides extensive debug information and is supported by the µVision debugger and some emulators.

  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.