Cannot get program to stop execution at breakpoint using ST-LINK V3 -or- Segger JLINK+.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-22 12:41 PM
What STM32 part?
What tool chain?
Try turning off optimization, better one-to-one relationships.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-22 2:08 PM
I verified that the optimization level in the GNU compiler is set to "None-00".
