Groups | Blog | Home
all groups > visual studio .net debugging > april 2007 >

visual studio .net debugging : ContextSwitchDeadlock error in VS2005


GaryDean
4/12/2007 4:37:31 PM
All of a sudden I'm getting a ContextSwitchDeadlock error when debugging. I
googled it and there are some suggestions to go to the Debug menu, choose
Exceptions, blah blah blah

There is no Exceptions submenu on my debug menu. I have vs2005 professional
edition.

What can I do to get rid of this. I can't debug anymore

--
Regards,
Gary Blakely

jetan NO[at]SPAM online.microsoft.com (
4/13/2007 12:00:00 AM
Hi Gary,

Bryan's reply shows the steps of retrieving "Exceptions..." menu item
through VS2005 IDE menu customization dialog. If you want to understand why
debugger sometimes pops up bogus ContextSwitchDeadLock MDA, please refer to
the CLR debugging service developer Mike Stall's blog entry below:
"Why you sometimes get a bogus ContextSwitchDeadLock MDA under the debugger"
http://blogs.msdn.com/jmstall/archive/2005/11/11/ContextSwitchDeadLock.aspx

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Bryan Phillips
4/13/2007 1:55:48 AM
You can add the Exceptions menu item to your Debug menu by clicking
Tools-Customize. Choose Debug from the categories list and drag
Exceptions... from the commands list to wherever you want it (toolbar or
menu).

Then, close the dialog, click Exceptions and uncheck
ContextSwitchDeadlock under Managed Debugging Assistants.

Most of the MDA stuff gets really annoying if you do anything fancy like
mixed-mode debugging or Visual Studio Add-Ins.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
GaryDean
4/13/2007 6:16:22 PM
much thanks, that did it.

--
Regards,
Gary Blakely

[quoted text, click to view]

AddThis Social Bookmark Button