2020-03-22 12:24 PM
I insert a breakpoint in the source code by toggling it Ctrl+Shift+B. I view the breakpoint in the Breakpoints window. After startup, the program is halted at the first line of code. I then press F8 to start the program and execution blows through the line of code where the breakpoint has been set. I have used the ST-LINK V3 and the Segger JLINK+ to set breakpoints and have had the same results (i.e. program execution doesn't halt). (I have successfully used the "Run To Line" command and program execution does stop at the highlighted line.)
I am out of ideas at this point!! Any help would be appreciated.
2020-03-22 12:41 PM
What STM32 part?
What tool chain?
Try turning off optimization, better one-to-one relationships.
2020-03-22 02:08 PM
I verified that the optimization level in the GNU compiler is set to "None-00".