cancel
Showing results for 
Search instead for 
Did you mean: 

Jumping to random file after pressing Run button

GeneralTao
Associate II

Hello. When I press to Run (Run main.c) button, STM32CubeIDE opens random file, possibly, from current repository, for example: startup_stm32l452xx.s, core_cm4.h etc...

Code is loading successful, but this side effect bothers me.

I would like to disable this function. How can I do it?

If you need more information about this behavior please, ask.

Thank you for reading.

116 REPLIES 116

Only now I noticed that 'Run' button indeed flips from incactive to active during flashing process/debug session launch, but I am not able to click it as there is a modal window showing progress of the flashing progress

Maby I enabled that modal progress window somewhere.

ferro_2-1730906916767.png

 

 

 

Hm, so this thread started in 2020, 1.14 was released in 2023. Where can I see release dated of CubeIDE versions ?

What Cube version was 'the latest' in 2020 ?

I do not see release dates for each release in Release Note

https://www.st.com/resource/en/release_note/rn0114-stm32cubeide-release-v1161-stmicroelectronics.pdf

 


@ferro wrote:

Only now I noticed that 'Run' button indeed flips from incactive to active during flashing process/debug session launch, but I am not able to click it as there is a modal window showing progress of the flashing progress

 


I'm using STM32CubeIDE 1.15.1 at the moment, I haven't seen the window. I also have external flash which flashes after the internal flash is flashed and that can take a while. Most of the time I can control myself to not press the button, but it's so tempting to click a green play button that I sometimes forget.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.

"it's so tempting to click a green play button" haha, I know, hard to resist el ou el

There is a kind of information about release dates but would rather see it stated within each version update note. not as a sideproduct of the document's revision history.

So this thread  started on Jun 2020, when CubeIDE latest version was 1.3.1.

https://www.st.com/resource/en/release_note/rn0114-stm32cubeide-release-v1161-stmicroelectronics.pdf

 

ferro_0-1730920625222.png

 

>> "I haven't seen the window"

You will with this option off:

[Debug Configurations > Common]

ferro_0-1730982232377.png

 

There are currently several topics open on this problem:

  1. https://community.st.com/t5/stm32cubeide-mcus/jumping-to-random-file-after-pressing-run-button/td-p/246693 (this topic. incorrectly marked as solved and OP went up in smoke)
  2. https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/how-to-stop-stm32cubeide-from-opening-random-files-when-debug-is/td-p/98917
  3. https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-14-0-gt-old-issue/m-p/612850
  4. https://community.st.com/t5/stm32cubeide-mcus/why-does-cubeide-stop-in-reset-handler-or-similar-before/m-p/602119 (also incorrectly marked as solved)

I work with STM32CubeIDE daily and it is one of my main annoyances.
All I want from my IDE is not to open files unless there is a breakpoint. Is that too much too ask?

 

 

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.