I have a strange problem:all the .c can compile、build、run、download correctly, and there is no error, but when debugging, I can insert breakpoint only in main.c, cannot insert breakpoint in any other .c file. I have checked:optimization is level 0; debug information is checked, and the related picture is follows.
I checked the disassemble window and found it is not normal:
when I "Step", it appears as follows, and it can not jump to subfunction:
so I want to know the reason, please help me, thank you very much!
Optimisation?
I have sent the picture, and the optimization is level 0.
The level 0 has no optimization.