Jumping to random file after pressing Run button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32CubeIDE
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:34 AM
Hm, so this thread started in 2020, 1.14 was released in 2023. Where can I see release dated of CubeIDE versions ?
What Cube version was 'the latest' in 2020 ?
I do not see release dates for each release in Release Note
https://www.st.com/resource/en/release_note/rn0114-stm32cubeide-release-v1161-stmicroelectronics.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:34 AM
@ferro wrote:Only now I noticed that 'Run' button indeed flips from incactive to active during flashing process/debug session launch, but I am not able to click it as there is a modal window showing progress of the flashing progress
I'm using STM32CubeIDE 1.15.1 at the moment, I haven't seen the window. I also have external flash which flashes after the internal flash is flashed and that can take a while. Most of the time I can control myself to not press the button, but it's so tempting to click a green play button that I sometimes forget.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:36 AM
"it's so tempting to click a green play button" haha, I know, hard to resist el ou el
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 11:21 AM - edited ‎2024-11-06 11:21 AM
There is a kind of information about release dates but would rather see it stated within each version update note. not as a sideproduct of the document's revision history.
So this thread started on Jun 2020, when CubeIDE latest version was 1.3.1.
https://www.st.com/resource/en/release_note/rn0114-stm32cubeide-release-v1161-stmicroelectronics.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-07 4:24 AM
>> "I haven't seen the window"
You will with this option off:
[Debug Configurations > Common]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-07 6:29 AM - edited ‎2024-11-27 6:14 AM
There are currently several topics open on this problem:
- https://community.st.com/t5/stm32cubeide-mcus/jumping-to-random-file-after-pressing-run-button/td-p/246693 (this topic. incorrectly marked as solved and OP went up in smoke)
- https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/how-to-stop-stm32cubeide-from-opening-random-files-when-debug-is/td-p/98917
- https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-14-0-gt-old-issue/m-p/612850
- https://community.st.com/t5/stm32cubeide-mcus/why-does-cubeide-stop-in-reset-handler-or-similar-before/m-p/602119 (also incorrectly marked as solved)
- https://community.st.com/t5/stm32cubeide-mcus/run-program-opens-a-random-file-after-a-debuggin-session/td-p/747848
I work with STM32CubeIDE daily and it is one of my main annoyances.
All I want from my IDE is not to open files unless there is a breakpoint. Is that too much too ask?
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 5:51 AM
The problem still exists in 1.17.0
As this case is incorrectly marked as solved, I opened a new one for 1.17.0:
I will keep doing it for every new release, until it is fixed, or I drop dead - whichever comes first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-08 4:48 AM
Has the problem been solved? I’ve known about this issue for years, and I'm currently using version 1.18, yet the problem persists... it's incredible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-08 10:39 AM
Yes, the same problem on 1.18
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-09 1:31 AM
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).
