When i run the debug mode hte Call stack + locals doesn't display the "main" file and the debug arrows(green and yellow) are in the "startup_stm32f407xx.s" file and they should be in "main.cpp".
What could be the problem?
I've noticed that this happens when my main file is of type .cpp, and these are my files in my project, i only see one source file "main.cpp":
and this is where it gets stuck: