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-05-28 6:28 AM
2025-05-28 6:41 AM
ah yes, so there is this one, another was the reset vector
2025-05-28 6:41 AM - edited 2025-05-28 6:44 AM
Hello ferro,
look at your screen shot.
Do you open the "startup_stm_32f429zitx.s" file by your self?
Or opened it the IDE by magic?
Thats we are talking about....
remove the breakpiont at main and it open the file nevertheless.
an if you stop debung and run->debug again, mostly it opens an other file.
padawan
2025-05-28 6:44 AM
you said this
If i open the IDE the first time and Run -> Debug: no randomfile!
If i close Debug and hit Run -> Debug again: randomfile!
I close the IDE and open it and Run -> Debug: no randomfile!
If i close Debug and hit Run ->Debug again: randomfile!
If i close Debug and hit Run ->Debug again: randomfile!
startup_stm_32f429zitx.s is not a random file.
2025-05-28 6:52 AM - edited 2025-05-28 6:53 AM
remove the breakpiont at main and it open the file nevertheless.
an if you stop debung and run->debug again, mostly it opens an other file.
Please record a video of IDE with what you describe here
2025-05-28 7:06 AM
Ok 3 times test.
at first i has the main_pg.cpp then i get the .s and after this i get the .c
I only Run->Debug and stop it and run->debug again.
there is no edit or change on the source files
After 2 hits more
And this is random.
padawan
2025-05-28 7:11 AM
video please
2025-05-28 8:02 AM
@ferro wrote:startup_stm_32f429zitx.s is not a random file.
Flashing has not finished yet, so before debugging has started it opens the startup file for no reason. It doesn't matter if it is a random file or the startup file. The point is it should not open any file.
2025-05-28 8:06 AM
"for no reason"
It is a startup file. This might be a reason.
"The point is it should not open any file"
Said who ? Why not ? What is expected bahaviour ?
2025-05-28 8:17 AM
Seems like we have a troll here.
Anyways, unsubscribing from notifications, I'll just have to live with this bug. Good luck guys.