Unable to set any valid breakpoints for debugging
Hi,bro
My application will compile and go to debug mode but wherever I set a breakpoint it has the red dot with a question mark in it meaning invalid breakpoint and so they never work...
As far as I can tell, my application is running fine on the hardware as I can communicate with it via serial, so it seems to just be debugging that is not working in this case. I've tried cleaning the project, removing all breakpoints, re-loading, etc to no avail
I opened it with Keil routine, it can debug normally, and I can confirm that my STLink and hardware are OK.
It has been bothering me for three days.
Regards,
-
I added "-g3" to "External Build" -> "C Compile Command". After compiling, the debugging was still the same, and I changed it back again. At this time, I found that all the breakpoints except "main. C" can be brokenpoingts. I don't know how to export the contents of the "export build" report.
Please sign in to leave a comment.







Comments
22 comments