Visual Studio and .NET Framework Home
Just-In-Time debugger hangs Windows Form application on Vista
4/16/2007 11:49:53 AM
User(s) can reproduce this bug
The Just-In-Time debugger is not working correctly for a windows form application in Windows Vista. The debugger comes up OK and you can step through the code. However, when you continue the application execution, the application being debugged hangs. All the latest service packs are installed, Visual Studio sp1 and Visual Studio sp1 for Vista.
.NET Framework 2.0 Service Pack 1
Operating System Language
Steps to Reproduce
Create a simple Windows Form application. On a button click add a Debugger.Break() statement. Compile and run application by double clicking it in explorer. Click the button. You will get a prompt to debug or close, chose debug. Next choose to create a new instance of Visual Studio or CLR Debugger (Both have the issue). Step through the code, click Continue.
private void debuggerButton_Click(object s, EventArgs e)
Control is not returned to the application being debugged. The application is grayed out and does not respond. The application has to be killed.
Control should pass back to the application being debugged. You should be able to continue using the application.
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
on 5/18/2007 at 11:26 AM
Just wanted to let you know that this issue has indeed been addressed in Visual Studio Codename Orcas.
on 4/25/2007 at 1:46 PM
Thanks for the feedback. Unfortunately you are running into a known problem using Visual Studio 2005 on Vista. To work around the problem you need to ignore the Just-In-Time debugger dialog. Instead, start an elevated instance of Visual Studio and attach to the application. This is something we will fix in a future version of Visual Studio.
Visual Studio Debugger
on 4/16/2007 at 8:59 PM
Thanks for your feedback. We have reproduced this bug on Vista and VSTS 2005 SP1, and we are sending this bug to the appropriate group within the Visual Studio Product Team for triage and resolution. Thank you, Visual Studio Product Team.
on 4/16/2007 at 6:43 PM
Thank you for your feedback. We are currently investigating. If this issue is urgent, please call support directly (see http://support.microsoft.com). Thank you, Visual Studio Product Team.
to post a workaround.
Please enter a workaround.
© 2013 Microsoft