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.

227 REPLIES 227
overlaine
Associate II

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).

CubeIDE_Debugger.png

Sakvoyage
Associate II

It still opens some random files on Debug, even when no exceptions happens. Very annoying. 

padawan
Senior II

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

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!

Sakvoyage
Associate II

I guess its time to give JetBrains Clion IDE a shot. VS Code also has STM32 plugin now.

Gaston_78
Associate II

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

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.

Gaston_78
Associate II

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 !!!

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

 


@Gaston_78 wrote:

We could open more Tickets around this topic. or send emails to support...


Like I wrote before:
https://community.st.com/t5/stm32cubeide-mcus/jumping-to-random-file-after-pressing-run-button/m-p/740182/highlight/true#M32145

There are at least 5 topics open on this issue of which 2 are incorrectly marked as solved. This is the longest topic, so it's best to continue in this one. I think this topic should be marked as unsolved. Spamming this thread won't solve the problem.
It would be nice if someone could debug the debugger in STM32CubeIDE and find out where the problem is. But I don't even know where to start.

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.