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

With inline assembly lose capability to debug and set breakpoints with the C Code source.

We are using uVision 2.0 IDE. We are using in-line assembly code with C source. To get it compile we had to check Generate Assembler SRC File and Asseble SRC File for each of the Groups in the Project. When we do this the in-line is compile correctly. But we lose the capability to debug and set breakpoints with the C Code source. We only have the mixed with assembly with C Code commented out. What do I need to do to get the capability to debug and set breakpoints with the C Code source back and have in-line assembly.

Parents
  • We are using in-line assembly code with C source.

    That's the beginning of the problem. And that

    for each of the Groups in the Project.

    seals the deal. Did you really have to use inline asm in every part of your program? Are you truly convinced that was necessary?

    What do I need to do to get the capability to debug and set breakpoints with the C Code source back and have in-line assembly.

    Stop abusing you C compiler as an assembler.

Reply
  • We are using in-line assembly code with C source.

    That's the beginning of the problem. And that

    for each of the Groups in the Project.

    seals the deal. Did you really have to use inline asm in every part of your program? Are you truly convinced that was necessary?

    What do I need to do to get the capability to debug and set breakpoints with the C Code source back and have in-line assembly.

    Stop abusing you C compiler as an assembler.

Children