Wierd problem during debug run of project

Posts   
 
    
stoneyowl avatar
stoneyowl
User
Posts: 62
Joined: 29-Jan-2004
# Posted on: 16-Aug-2006 22:19:15   

I am getting a (apparently random) problem when I try to run a solution under debug in VS2005. Using the SystemInternals Process Explorer, I can see that when a debug run is executing there is an executable named <solution>.vshost.exe which is actually running the program. Well, once in a while when running in debug mode, the 'actual' program is executed, rather than the '...vshost.exe' program. When the actual program is run, nothing happens...no visible windows, Process Explorer show no User Objects nor GDI objects created, it just sits there...

Has this ever happened to anyone? Is there a specfic cause for this? It is annoying to start a debug run, then realize that I need to kill it and recompile and re-run - compiling is on the order of 2 minutes now....

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 17-Aug-2006 08:17:14   

Go to the project properties on the debug tab and uncheck the option to Enable the Visual Studio hosting process.