<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : ContextSwitchDeadlock</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : ContextSwitchDeadlock</description>
  <pubDate>Thu, 11 Jun 2026 06:22:14 -700</pubDate>
  <lastBuildDate>Mon, 10 Mar 2008 11:26:23 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=720</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>ContextSwitchDeadlock : You can also try turning off the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2676#2676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 720<br /><strong>Posted:</strong> 10-Mar-2008 at 11:26am<br /><br />You can also try turning off the managed debugging assistant for this.&nbsp; By default, the ContextSwitchDeadlock MDA is set to throw, and does interfere with debugging.&nbsp; You can turn this off&nbsp;from the Exceptions window in VS.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 11:26:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2676#2676</guid>
  </item> 
  <item>
   <title>ContextSwitchDeadlock : I was developing at work with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2673#2673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=32" rel="nofollow">DocScooter</a><br /><strong>Subject:</strong> 720<br /><strong>Posted:</strong> 10-Mar-2008 at 4:20am<br /><br />I was developing at work with a fast WAN connection.&nbsp; But I got the error messages when I tried it at home through a wireless connection to my cabled router....probably a typical remote office setup for my users.&nbsp; <DIV>&nbsp;</DIV><DIV>When I drove the program from the exe it worked fine.&nbsp; Then I removed the breakpoints as suggested and now all is well again.&nbsp;&nbsp;I thought I was going to have go back to the drawing boards.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Thanks David!&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 04:20:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2673#2673</guid>
  </item> 
  <item>
   <title>ContextSwitchDeadlock : This is a fairly common occurrence...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2669#2669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 720<br /><strong>Posted:</strong> 09-Mar-2008 at 9:43am<br /><br />This is a fairly common occurrence debugging with Visual Studio, and has nothing to do with DevForce.&nbsp; Either the operating system or the .NET Framework expects that certain code sequences will complete in a certain amount of time or they will throw a timeout.&nbsp; When you set breakpoints in your code, you may cause this timeout to occur.&nbsp; I know of nothing you can do to change this although you might do research on the Web on this topic.&nbsp; I would try moving my breakpoints around.&nbsp; If you add debugging or trace messages in your code, this usually helps because then you are not stopping the execustion of the code.]]>
   </description>
   <pubDate>Sun, 09 Mar 2008 09:43:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2669#2669</guid>
  </item> 
  <item>
   <title>ContextSwitchDeadlock : I don&amp;#039;t know if it is something...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2668#2668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=32" rel="nofollow">DocScooter</a><br /><strong>Subject:</strong> 720<br /><strong>Posted:</strong> 09-Mar-2008 at 9:05am<br /><br /><P>I don't know if it is something in my code or something in DevForce that gives me a time out error.&nbsp; I can persist smaller tables one at a time just fine but try that with a table with more substance....I get a time out message.&nbsp; Is there some setting I can make to increase the time out length?&nbsp; tnx.<FONT size=2></P><DIV></DIV>Here's the whole error message:<DIV></DIV><DIV></DIV><DIV></DIV><FONT size=2><P>ContextSwitchDeadlock was detected</P><P>Message: The CLR has been unable to transition from COM context 0x1afdd0 to COM context 0x1aff40 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operation</P></FONT></FONT>]]>
   </description>
   <pubDate>Sun, 09 Mar 2008 09:05:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=720&amp;PID=2668#2668</guid>
  </item> 
 </channel>
</rss>