The application I'm working does not start in the debugger of Visual Studio 2005.
Here's what I do:
- I rebuild the application and hit F5 to start it
- The title of the VS2005-window says "projectname (Running) ..."
- The debugger buttons appear but are greyed out
- The application appears in the Windows task manager, but it has only 80k in memory usage
- Nothing happens for a long while, and finally I get a windows with the following error message: "Debugging is being stopped but is not yet complete. You can force debugging to stop immediately, but any process being detached may be terminated instead. This window will automatically close when the debugging has completely stopped". The window does not disappear, so after a while I press the "Stop now" button.
- Nothing happens for a while (the debugger buttons still visible, but greyed)
- Some time later a new window appears: "Unable to start program '(path to exe)'. OLE har skickat en begäran och väntar på svar". The last sentence is swedish for "OLE has sent a request and is waiting for response". I press OK and the debugger buttons are gone.
- The application is still running, and still has only 80k in memory usage.
- I try to end the process with the task manager, but it is not killed.
- I quit Visual Studio and finally the process is gone.
The application is an unmanaged C++ project, that use a lot of DLL-files as plugins. I'm using the "multi-threaded debug" runtime, and I've made sure all dependencies are compiled against the same runtime.
It was while doing that this problem appeared all of a sudden. I've tried to reverse my changes, but it doesn't help. Restarting the computer doesn't help either.
I've got the application running once or twice at random. If I then ended the application and started it again it wasn't started. So I don't think this is because of my configuration.
Any ideas?
One more note: the application starts and runs as it should if I start it from outside Visual Studio.