Skip to main content
MK S.1
Visitor II
April 26, 2020
Question

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.

  • April 26, 2020
  • 1 reply
  • 797 views

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.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
April 26, 2020

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 VenmoUp vote any posts that you find helpful, it shows what's working..