Visual studio debug console sometimes stays open and is impossible to close

Posted by JC on Stack Overflow See other posts from Stack Overflow or by JC
Published on 2010-03-08T16:36:05Z Indexed on 2010/04/07 6:33 UTC
Read the original article Hit count: 624

Hey,

Sometimes when I run an application from Visual Studio and it crashes or I stop it using the stop button in the debug menu (Debug->Stop Debugging (Shift-F5)), the console of said application stays open... and never closes. I cannot close it by clicking the 'x' button in the top right corner. I cannot kill the process as it is not even listed in taskmgr.

I have seen this problem documented in different places on the web, but no solution so far.

I am running on windows XP SP3, using visual studio 2008 w/ SP1.

1- What could be causing this ?
2- Is there a fix ?

thanks alot.

JC

EDIT: There is no MyApp.vshost.exe process to close, and closing visual studio does not close the console either. Worse even, if I try to restart my computer windows will hang and never close, I need to do a forced shut down.

EDIT #2 : (from Brad Sullivan, Program Manager - Visual Studio Debugger on March 2nd)

[...] this issue is likely not in Visual Studio since it also occurs in scenarios where Visual Studio is not present. We are in the process of handing over our investigation to the Windows Servicing team.

But for now, removing the KB978037 update and it's related files seems to work.

© Stack Overflow or respective owner

Related posts about console

Related posts about visual-studio