Keil Logo

C51: SOURCE CODE DOESN'T DISPLAY IN MY EMULATOR

QUESTION

I'm using C51 to compile my source files and I have used the DEBUG and OBJECTEXTEND directives to get source level information in my object files. However, when I load my absolute object file into my emulator, I don't get source level information. I do get line numbers, but no source. What's wrong?

ANSWER

There are only a few things that may prevent the source level information from being displayed. If you have included the DEBUG and OBJECTEXTEND directives, then the line number information is included in the object files.

The emulator needs to have the absolute object file as well as the source files to display the source level information. Make sure that the emulator has access to all these files. If you copy your absolute object module to a floppy for the emulator, make sure to copy the source files there as well. Without the source files, the emulator will not display source level information when you debug.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, May 10, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.