Solved
Failed to start GDB server when debugging STM32F103C8T6
- March 22, 2026
- 3 replies
- 481 views
Hello everyone, I’m facing an issue while trying to debug my project custom_for_stm32f103c8t6 in STM32CubeIDE. When I launch the debug session, I get the following error message:
Error in final launch sequence:
Failed to start GDB server
What I’ve tried so far:
-
Installed ST-LINK driver (STSW-LINK009).
-
Changed USB cable and port.
-
Reset the STM32F103C8T6 board.
Interestingly, I can still flash the firmware successfully using STM32CubeProgrammer, but debugging through STM32CubeIDE fails with the error above.
Unfortunately, the error still persists. Has anyone encountered this problem before and found a solution? Any guidance would be greatly appreciated.
Thank you in advance!
