This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to debug code build outside uVision using emake on Linux

I'm building my code on Linux with gcc using emake. Then I followed the steps(http://www.keil.com/support/docs/2310.htm) and loaded the .elf file with debug information in Keil. It doesn't give me the option to to do source-level debugging but pops up the disassembly window instead.

How to do source-level debugging in keil with an .elf generated on linux outside uVision ? Am I missing something ?

Parents
  • I could start stepping through .cpp files. But it doesn't let me to put breakpoints in the source files(.cpp) though allowed in disassembly. when I put a break point in disassembly and hit 'RUN', cursors in both disassembly and source windows run and stop at the break-point. How to solve this issue ?

Reply
  • I could start stepping through .cpp files. But it doesn't let me to put breakpoints in the source files(.cpp) though allowed in disassembly. when I put a break point in disassembly and hit 'RUN', cursors in both disassembly and source windows run and stop at the break-point. How to solve this issue ?

Children