Keil Logo

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
 
  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.