How can I prevent the "... has stopped working" window on my Server 2008 R2 dev box?

Posted by serialhobbyist on Stack Overflow See other posts from Stack Overflow or by serialhobbyist
Published on 2010-03-24T12:11:27Z Indexed on 2010/03/24 12:13 UTC
Read the original article Hit count: 266

I'm using a Windows Server 2008 x64 R2 machine as a development box. Amongst many other things I've got Visual Studio 2008 SP1 installed on it. When I'm working on a project, I sometimes need to use Debug > Start without Debugging (Ctrl + F5). If the program throws an exception, I get a new R2-style window appear. I'm pretty sure I didn't see this on my XP box - this is the first time I've developed directly on a server. Is there any way to avoid this - it's really beginning to bug me?

E.g. my current project is accessing a WCF service - I'm using Ctrl+F5 to start a console program client. I run it and get the window. The title is the name of the project I've just started and it contains:

[insert-project-name-here] has stopped working

Windows can check online for a solution to the problem.

--> Check online for a solution and close the program

--> Close the program

--> Debug the program

V  View problem details.

Clicking on "Close the program" will actually close the window and the exception message appears in the console, which is what I want (but without the extra window-faffing).

How can I avoid this annoyance?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about windows-server-2008-r2