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?
Run to main() was always enabled.
But i noticed something in the Build Output window:
Note: source file '.\main.cpp' - object file renamed from '.\Objects\main.o' to '.\Objects\main_1.o'.
Does this have to do anything with it?
It might be an indication that you somehow managed to put two sources named "main" into your project. Which is rather unlikely to be what you wanted.
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: