cancel
Showing results for 
Search instead for 
Did you mean: 

"Can't find a source file at " error while debugging with STMcubeIDE

KKris.3
Associate

I'm using STMcubeIDE for my projects. Recently I reset my PC, so I took a backup of my projects and reinstalled the CubeIDE. Now when I try to flash and debug my projects, I get the "Can't find a source file at " error.

0693W00000WK78PQAT.pngI noticed the path the error was showing was the path on my previous PC. After resetting, the path changed. So, I created a new project file in a different workspace, but still, I get the same error with the new path.

0693W00000WK78UQAT.png 

Please help me to fix this error. It looks like the program is flashed correctly. But I can not start a debug session.

4 REPLIES 4
aarom
Associate II
aarom
Associate II

2024-03-04_20-56-26.png

wyzykEnno
Associate II

I had the same problem, my solution to this problem which worked was to remove Debug directory from the project and make it generate from scratch.

NFern.1
Associate III

1. "Clean Project"

2. "Build Project"