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-06-26 12:25 AM
Cube IDE is about 7 years old !!
2025-06-26 12:36 AM
It's the birthday of this bug-threat ;)
padawan
2025-06-26 1:17 AM
Haha, thanks!
I wanted to post exactly that, but I guess it wouldn’t be considered PC.
We should organize a team-building meetup.
2025-06-26 1:19 AM - edited 2025-06-26 1:30 AM
Haha, thanks!
I wanted to post exactly that, but I guess it wouldn’t be considered PC.
We should organize a team-building meetup. 'Coalition Of the Willing'
2025-06-26 1:26 AM - edited 2025-06-26 1:26 AM
>>"That's right; it is not a random file. It is the file whose code was executing when the program starts or when you hit a breakpoint, etc."
Thanks for stating that.
And the 'random' file that opens when terminating the debug session is actually the file containing the code currently being executed by the CPU, as reported to GDB at the moment 'Stop' is pressed. A similar behavior occurs when you press 'Pause' or 'Suspend' - a 'random' file opens then as well.