ARM Technical Support Knowledge Articles

SOURCE CODE DOESN'T DISPLAY IN MY EMULATOR

Applies to: C51 C Compiler

Answer

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

Article last edited on: 2004-05-10 21:30:06

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential