This problem occurs mainly when you set breakpoints in the source files other than the ones you start debugging with.
Suppose you started debugging the MainModule.dsw workspace, and from this open visual studio editor you inserted breakpoints in other cpp files, and then at the very beginning of debugging you get this error.
Instead of the build code, your editor should show the winmain or dllmain method if you set the source code path to the vc folder of the Visual Studio installaiton installation. Then you can understand what the basic logic of the error message is.
source share