I am trying to debug a Visual C++ project. I run the program in debug mode, and the debugger shows me a message saying that the breakpoint will not be hit because symbols are not loaded. However, when I go to the Debug->Windows->Modules window, I see that the symbols for the executable file have been loaded. The window shows that the loaded .pdb file is the .pdb file generated by the compiler, which is up-to-date.
I have cleaned and rebuilt the project, exited MSVS and relentered the project. No joy.
I have looked at the possibilities in this article, which offers many possible solutions, but did not find a reference to a similar situation. What is the problem here?