Skip to main content
marbel
Associate III
March 23, 2021
Question

Early resume button press causes stm32cubeide to fail

  • March 23, 2021
  • 3 replies
  • 2252 views

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 

This topic has been closed for replies.

3 replies

Markus GIRDLAND
ST Employee
March 24, 2021

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.

Piranha
Principal III
March 24, 2021
marbel
marbelAuthor
Associate III
March 24, 2021

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