2020-06-25 6:27 AM
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.
2025-03-09 7:44 AM - edited 2025-03-09 7:46 AM
Not working... If you do that, the only difference is that Eclipse still opens random files but without loading them, only showing a gray screen with:
Better than opening random files (since you can't accidentally change anything while writing), but it's not a solution.
2025-04-02 5:21 AM
Same problem on OSX:
Version: 1.18.0
Build: 24413_20250227_1633 (UTC)
I can resolve this issue by disabling Live Expression in the Debugger settings (Misc).
2025-04-28 4:43 AM
It still opens some random files on Debug, even when no exceptions happens. Very annoying.
2025-04-28 5:32 AM
The annoying thing is that the thread has been displayed as ‘solved’ for 5 years.
But it's not solved.
They wanted to solve it ‘asap’. (asap> never)
Padawan
2025-04-29 1:13 AM
Yes, it's the worst bug in Eclipse and also "dangerous" because sometimes while you're editing, it randomly opens a file, puts the focus on it, and you end up editing it by mistake. Usually you notice it, but it has happened to me that I didn't, and then I got compile errors because I had typed something random in that file. They MUST fix it NOW!
2025-04-29 5:32 AM
I guess its time to give JetBrains Clion IDE a shot. VS Code also has STM32 plugin now.
2025-04-30 2:24 AM
We could open more Tickets around this topic. or send emails to support...
VScode us working but still it has any other kind of problems, so there's no any comfortable IDE platform for working with ST.. Everything around ST looks full of software bugs, ashame
2025-04-30 2:43 AM
Yes, just like when using the IDE or any other ST software product, it's easy to find a bug or a poor solution to a problem every few hours of use. Honestly, I sometimes can't understand how I spot things that are poorly done and no one has noticed or fixed them yet.
2025-04-30 2:58 AM
When I press to Run (Run main.c) button, STM32CubeIDE
OPENS RANDOM TABS FILE and CHANGE FOCUS.
This is happening since last 7 YEARS !!!!! Come on !!!
2025-04-30 3:00 AM
I ve opened a new Ticket .. tight now.. please support it. Maybe with a new one without "solution" somebody start to do something.
https://community.st.com/t5/stm32cubeide-mcus/opens-random-tabs-during-run-programming-in-stm32cubeide/td-p/798139