Program randomly pauses and refuses to run after (handle_vCont_t, Thread already stopped)
Hey ST,
I've recently migrated to STM32CubeIDE as live variables tracking sounded very appealing to me.
Sadly this also has a (major) issue with debugging.
Let's say I had set a debug point at a certain line, 150 or so.
I think I removed it, afterwards if I run the debugger the program will run, but will consistently stop at 150.
I can verify this as I can pause it and see it being stuck there.
It will then say "handle_vCont_t, Thread already stopped".
The program will now not run, whether I use Resume, Step into or Step over.
The only way around this is to set a breakpoint before this and manually pass this line (instruction) with Step over.
This is incredibly annoying as I am trying to check timing with a logic analyzer.
I've tried some things, from using a different ST-LINK (V2 <> V3), to doing a clean all to creating and using a new debug configuration.
It seems as if there's a rogue breakpoint still there.
Any way around this?
I tried restarting STM32CubeIDE, but that didn't work.
Edit: The manual method doesn't work anymore :(
Edit2: OpenOCD works fine. But then I lose some tools...