2025-09-16 2:58 AM - last edited on 2025-09-16 3:01 AM by Andrew Neil
Dear STMicroelectronics Support Team,
I am writing to report a persistent issue with STM32CubeIDE that is affecting multiple users in our company and blocking our development work.
Issue Description:
When we try to debug any STM32 project, the debugger launch process gets stuck at 51% with the message:
Launching: Initializing debugger services
The issue occurs with different versions of STM32CubeIDE and with multiple target boards.
Steps to Reproduce:
Open STM32CubeIDE and build the project (build succeeds).
Click Debug.
Debugger launch stops at 51% and does not proceed further.
Environment Details:
STM32CubeIDE Versions Tested: 1.9.0 and 1.13.2 (same result)
Operating System: [Windows 10 / Windows 11]
Target Boards Tested:
STM32F429I-DISC1
STM32F407-DISC
ST-LINK Firmware: [if known, mention version]
Actions Taken:
Reinstalled STM32CubeIDE (both versions).
Reinstalled ST-LINK USB drivers.
Verified ST-LINK is detected correctly in Device Manager.
Tried on multiple PCs within our company — all systems show the same behavior.
Despite these actions, the issue persists on all systems and boards.
I have attached a screenshot of the IDE progress bar stuck at 51% for reference.
Could you please investigate this issue and suggest a solution or provide a patch/update if this is a known problem?
This issue is affecting multiple developers in our company, so an urgent resolution would be greatly appreciated.
2025-09-16 3:07 AM
Hello @Durgaprasadvalleboina_2001
Have you tried to test with the latest version of CubeIDE 1.19.0?
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-16 3:11 AM
I tried both Versions STM32CubeIDE Versions Tested: 1.9.0 and 1.13.2 (same result)
2025-09-16 8:54 AM
Hello @Durgaprasadvalleboina_2001
I recommend using the latest version of STM32CubeIDE V1.19.0. Otherwise, let's try these steps below:
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-16 9:29 PM
Dear [Support Engineer Name / ST Team],
Thank you for your suggestions.
I have followed all the steps you recommended:
I am already using the latest STM32CubeIDE v1.19.0.
I performed Index → Rebuild and a full Clean Project build.
I also created a new workspace and re-imported the project.
Additionally, I completely uninstalled and reinstalled STM32CubeIDE before testing again.
Unfortunately, the issue still persists.
I would like to highlight that this problem is not limited to my system — several developers in my company, using different PCs and boards (STM32F429I-DISC1 and STM32F407-DISC), are facing the exact same issue.
Since we have already tried all suggested troubleshooting steps and verified that the problem is reproducible across multiple machines, I believe this could be a bug or an issue on the STM32CubeIDE/ST-LINK side.
Could you please escalate this issue to the relevant engineering team for further investigation? This problem is blocking our development work.
Thank you for your support and looking forward to your feedback.
2025-09-17 9:11 AM
Hello @Durgaprasadvalleboina_2001
Could you please try debugging with OpenOCD and see if the issue persists? Furthermore, could you provide the st-link_gdbserver_log file (You can generate it by enabling log to file under the Debug configuration.)
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-17 10:02 PM
I enabled "Log to file," but no file was generated because the debugger never starts (stuck at 51%). I tried with STM32CubeIDE v1.19.0, reinstalled IDE and drivers, created a new workspace, and tested on multiple PCs and boards — the issue persists everywhere. This looks like a possible STM32CubeIDE / ST-LINK toolchain issue, so please escalate it to your engineering team for further investigation.
2025-09-17 11:00 PM
Hi ST Team,
I am also facing the same issue. I have tried all the above-mentioned steps still the issue persists.
Requesting you to please guide me on this.
Regards,
Alister
2025-09-17 11:23 PM
2025-09-24 2:05 AM
Hello @Durgaprasadvalleboina_2001
Can we proceed with these steps:
- Run STM32CubeIDE as administrator,
- Reduce optimization level to -O0
- Under Project>Properties>C/C++ Build>Behavior and uncheck the "Enable parallel build"
Otherwise, can you please attach the log file from STM32CubeIDE/Workspace/.metadata
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.