Skip to main content
Associate II
Aug 13, 2026 1:27 PM UTC
Question

I can't debug my project

I made a project using CubeMX and imported it to CubeIDE. When I clicked Run → Debug, following message appeared, “The selection cannot be launched, and there are no recent launches.” I used CubeIDE version 1 before, and I could debug a program. What is wrong? 

4 replies

TDK
Aug 13, 2026 1:29 PM UTC

Looks like it was not imported properly and/or wasn’t created for STM32CubeIDE. Opening the “.project” file is typically the best way. Ensure you are generating code for STM32CubeIDE in the code generation settings.

"If you feel a post has answered your question, please click ""Accept as Solution""."
David Littell
Senior II
Aug 13, 2026 2:25 PM UTC

As ​@TDK noted, maybe the “EWARM” folder is a clue that the code wasn’t generated for CubeIDE.

Associate II
Aug 13, 2026 8:58 PM UTC

The problem was solved. I chose STMCubeIDE for “Toolchain/IDE”, generated code and imported to CubeIDE. Thank you very much.

David Littell
Senior II
Aug 14, 2026 2:56 PM UTC

You should have marked @TDK’s reply as the solution rather than your own.