cancel
Showing results for 
Search instead for 
Did you mean: 

Early resume button press causes stm32cubeide to fail

marbel
Associate II

Hi

Using a G474 nucleo board and building a project and launching it everything works fine if I patiently wait for the debug session to be halted in the beginning of main(). However, if I instead hit the resume button maybe a second too soon, I instead get this error and have to re-launch the session. Can this be addressed?

Best regards

Martin

0693W000008xe0fQAA.png 

3 REPLIES 3
Markus GIRDLAND
ST Employee

Hello Martin!

I'm not sure this is something that can be addressed easily. The problem is that the resume button is active while launching the debug session. You would simply need to not click it while the debug session is launching.

However, if you don't want to wait for the debug session to stop in main you can go to the startup tab of your debug configuration and untick the Set breakpoint at: main.

marbel
Associate II

Hi thanks for the quick response.

I was hoping that this could be easily resolved, I'm not sure in anyway, but as this was something I cant seem to remember being trouble by in Atollic, I imagine that it worked differently.

BR

Martin