Skip to main content
CBerg
Senior II
Sep 23, 2023 11:36 AM UTC
Question

CubeIDE opens random files on debug start / end

Since a while - I guess since update 1.8 or something - CubeIDE opens random project *.c-files, when the debug process is started or stopped.

In this example only main.c was open. When I clicked on "debug", "startup_stm32_g473vetx.s" was openend, and when I stopped the debug session, "stm32g4xx_hal_spi.c" was opened.

a.png

This is pretty annoying, because you have to close them manually or your edit window will fill up with open files, you do not want to have open.

Please fix that.

This topic has been closed for replies.

5 replies

TDK
Sep 23, 2023 2:07 PM UTC

This has to be the most annoying and time wasting bug in CubeIDE. @mattias norlander any updates?

See explanation here:

https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/how-to-stop-stm32cubeide-from-opening-random-files-when-debug-is/td-p/98917

"If you feel a post has answered your question, please click ""Accept as Solution""."
padawan
Senior II
Sep 26, 2023 11:40 AM UTC

Hi 

https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:STM32CubeIDE_errata_1.13.x says that the issue ID 139768 is solved. 

But this is lie. They may testet it at the first run, but not at a seconde one.

padawan

Graduate
Nov 23, 2024 12:42 PM UTC

Any update? It still wrong with version :

 

STM32CubeIDE

Version: 1.16.1

Build: 22882_20240916_0822 (UTC)

Explorer
Dec 3, 2024 9:49 PM UTC

12.03 same, as before, kedves magyar barátom :)

Visitor II
Jan 4, 2025 8:21 AM UTC

Same here (v 1.16.1)