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

Can't set breakpoints in C code, only assembler code.

In some of my uVision2 projects the debugger will not allow me to set breakpoints in the C source code, only in the disassembly window. Other projects allow me to set breakpoints in either. There must be some sort of setting that I can't figure out.

Help Please

Parents
  • "Under listing, I do not have assembly code checked. Yet the build still generates an SRC file."

    The assembler in the listing file is not the same as the SRC output file!

    If you want 'C' source-lecl debugging, you must turn off the 'Generate Assembler Source File' option (SRC command-line directive).

Reply
  • "Under listing, I do not have assembly code checked. Yet the build still generates an SRC file."

    The assembler in the listing file is not the same as the SRC output file!

    If you want 'C' source-lecl debugging, you must turn off the 'Generate Assembler Source File' option (SRC command-line directive).

Children