cancel
Showing results for 
Search instead for 
Did you mean: 

Debug: "No source available for main()"

anonymous.8
Senior II

I am trying to debug my code, but it just ain't working the way it's working in e.g. the STM32CubeIDE intro-video on Youtube; I'm getting "No source available for main()", instead of Eclipse displaying where in the code it's actually at.

I haven't changed any of the default-settings, other than where my workspace is and yes, I have build a debug-version instead of release-version and yes, I do see "-g3" - flag enabled in the compilation-console.

How do I fix this?

10 REPLIES 10
emirdikicioglu
Associate

Thank you. You are better than the st staff.