cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030C6 breakpoint setting does NOT work on STM32CubeIDE using ST-link V2. Is it a BUG or setup issue? and how?

BLu.397
Associate

When I hit Debug. System stops at first line of main() as intended. However no matter how I setup any breakpoints on the rest code, and hit Resume(F8) button. The code never stops on those breakpoint. even though I am 100% sure those breakpointed line code got run already. and if I hit suspend. the code stops normally. Also step into or over works normally. ( I am sure that the number of breakpoints I setup is less than 4) I checked log file of st link GDB server. I did not see any breakpoint setting command sent to the debugger via the SWD. Is this a software bug of CubeIDE? I saw some youtube video. it shows the breakpoint works fine. Could anyone give me some hint. I stuck on this issue for two days. :(

10 REPLIES 10
wegi01
Associate

Confirm - the answer of @Mavoodoo solved this problem on my IDE 1.14.1. A huge thanks.