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.

121 REPLIES 121
WojRus
Associate II

Try disable load symbols:

Main menu -> Run -> Run Configurations...

In left panel select default configuration then select page "Startup".

In group "Load Image and Symbols" unselect "Load symbols" at ELF file.

If both Run and Debug functions are required then the default configuration should be duplicated (there's option "Duplicate" above config name, this create new *.launch file).

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:

AAlis23_0-1741531387858.png

Better than opening random files (since you can't accidentally change anything while writing), but it's not a solution.