Keil™, An ARM® Company

Technical Support

RTX51 TINY: DON'T SEE SOURCE WHEN DEBUGGING


Information in this article applies to:

  • C51 Version 5.50a
  • C51 Version 6.10a

QUESTION

When I debug my RTX51 Tiny programs, I see only the assembly listing and not the C source code. What's wrong?

ANSWER

RTX51 Tiny programs do not have a main C function. Instead, Task 0 is the first function that gets executed. The easiest thing to do is to set a breakpoint on the first instruction in Task 0. Then, when you run the program in the debugger, when Task 0 starts, the debugger will halt and show your C source code.

MORE INFORMATION

Last Reviewed: Sunday, July 17, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure