We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Let me clarify. I can only set breakpoints in Disasembly window, A51 source code, and the SRC file generated from the C code. My output settings for create executable have Debug Information checked. Under listing, I do not have assembly code checked. Yet the build still generates an SRC file. In the projects that allow me to set breakpoints in C code, no SRC file gets generated. Any ideas?
"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).
Thank-you, that fixes it.