cancel
Showing results for 
Search instead for 
Did you mean: 

hi all, I am using stm32f407 development board and Kiel for debugging some of the lines can't able to put a breakpoint can anyone please help me to crack this.

MK S.1
Associate

some of the lines in debugging mode in the left column are highlighted in that lines only I can able to put a breakpoint.

I assigned some instruction in non highlighted lines as well in that line  can't able to put a breakpoint.

1 REPLY 1

There is no code behind the line, either removed or folded by optimizer, of dead code removal by linker.

Code may translate to zero or many lines of assembler, this code may ​be folded or reordered.

Try turning off the optimization globally or at function level. Check .MAP to confirm routines present, review listing files.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..