<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx</link><description>If you have hangs, performance, memory issues, exceptions or crashes in Silverlight applications you can debug them using windbg and sos just like you would if the issues occurred in other .net applications. The difference is that Silverlight in IE runs</description><dc:language>sv-SE</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>send flowers &amp;raquo; Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8884338</link><pubDate>Thu, 21 Aug 2008 13:31:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8884338</guid><dc:creator>send flowers &amp;raquo; Debugging Silverlight applications with windbg and sos.dll</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://hubsfunnywallpaper.cn/?p=1680"&gt;http://hubsfunnywallpaper.cn/?p=1680&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Visual Studio Links #67</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8885003</link><pubDate>Thu, 21 Aug 2008 17:36:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8885003</guid><dc:creator>Visual Studio Hacks</dc:creator><description>&lt;p&gt;My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The Web Developer Tools Team announced the release of the Dynamic Data Wizard Preview 0806 for VS 2008 SP1 . US ISV Developer Evangelism&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8886442</link><pubDate>Fri, 22 Aug 2008 02:40:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8886442</guid><dc:creator>Peter McGrattan</dc:creator><description>&lt;p&gt;Great post Tess: concise and informative.&lt;/p&gt;
&lt;p&gt;I'd be most interested in any real world Silverlight problems you've solved/investigated 'using the powers of the debugger' in the future.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
</description></item><item><title>Link Listing - August 21, 2008</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8887577</link><pubDate>Fri, 22 Aug 2008 14:48:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8887577</guid><dc:creator>Christopher Steen</dc:creator><description>&lt;p&gt;Link Listing - August 21, 2008&lt;/p&gt;
</description></item><item><title>Post: 170</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8892781</link><pubDate>Mon, 25 Aug 2008 01:33:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8892781</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;Post: Approved at: Aug-24-2008 Intersoft demos Silverlight 2 controls &lt;a rel="nofollow" target="_new" href="http://www.sdtimes.com/INTERSOFT_DEMOS_SILVERLIGHT_2_CONTROLS"&gt;http://www.sdtimes.com/INTERSOFT_DEMOS_SILVERLIGHT_2_CONTROLS&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Debugging Silverlight with SOS.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8895254</link><pubDate>Tue, 26 Aug 2008 01:15:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8895254</guid><dc:creator>CLR - a little bit of everything</dc:creator><description>&lt;p&gt;Tess just posted an article on how to debug Silverlight application using sos.dll. If you have been using&lt;/p&gt;
</description></item><item><title>Interesting Finds: 2008.08.22~2008.08.26</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8895918</link><pubDate>Tue, 26 Aug 2008 06:06:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8895918</guid><dc:creator>gOODiDEA</dc:creator><description>&lt;p&gt;DebugDebuggingSilverlightapplicationswithwindbgandsos.dllWebJavaScriptMemoryLeakDetec...&lt;/p&gt;
</description></item><item><title>Interesting Finds: 2008.08.22~2008.08.26</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#8895919</link><pubDate>Tue, 26 Aug 2008 06:07:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8895919</guid><dc:creator>gOODiDEA.NET</dc:creator><description>&lt;p&gt;Debug Debugging Silverlight applications with windbg and sos.dll Web JavaScript Memory Leak Detector&lt;/p&gt;
</description></item><item><title>Debugging hangs, memory leaks or exceptions in silverlight apps with sos</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9009657</link><pubDate>Tue, 21 Oct 2008 17:18:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9009657</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;Back in August I wrote a post about how to debug these types of issues in silverlight applications.&amp;amp;#160;&lt;/p&gt;
</description></item><item><title>Silverlight 2.0 RTW = Production Debugging Silverlight 2.0 Apps</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9010794</link><pubDate>Wed, 22 Oct 2008 09:24:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9010794</guid><dc:creator>Adlai Maschiach</dc:creator><description>&lt;p&gt;Silverlight 2.0 RTW = Production Debugging Silverlight 2.0 Apps Ok, so we all know that Silverlight 2&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9013101</link><pubDate>Thu, 23 Oct 2008 18:02:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013101</guid><dc:creator>Marc Sherman</dc:creator><description>&lt;p&gt;What if some non-Silverlight component that used mscorwks.dll (a regular .NET component) was loaded into IE? And then a Silverlight app was loaded. Would both mscorwks.dll and coreclr.dll be loaded in the IE process? If so, I guess you could load both versions of sos when looking at a dump (since they have different paths). Is any of this possible?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Marc &lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9013117</link><pubDate>Thu, 23 Oct 2008 18:12:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013117</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;Yes, all of the above is possible...&lt;/p&gt;
&lt;p&gt;In that case you might have to prefix the command with the path !&amp;lt;path&amp;gt;/sos.command &amp;nbsp;to get the command from the right sos loaded &amp;nbsp;or alternatively unload one sos and load the other to avoid confusion about where the commands come from...&lt;/p&gt;
&lt;p&gt;if a command is present in multiple loaded extensions, the extension that is last loaded will have presedence &amp;nbsp;(see .chain for loading order and full name of the extensions)&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9013183</link><pubDate>Thu, 23 Oct 2008 18:49:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013183</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;Is this supposed to work by directly attaching to the iexplore.exe process or does it only work by taking a dump? I've some huge memory leaks with my SL2 app (~50 MBs in one transaction) on the client side. I'm trying to investigate the culprit for this.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
</description></item><item><title>Interesting Finds: 2008.10.19~2008.10.23</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9013874</link><pubDate>Fri, 24 Oct 2008 03:12:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013874</guid><dc:creator>gOODiDEA.NET</dc:creator><description>&lt;p&gt;.NET ASP.NET MVC Beta Source Code Release - Partial Output Caching in ASP.NET MVC - Partial Requests&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9014251</link><pubDate>Fri, 24 Oct 2008 09:20:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9014251</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;Doug, you can attach live or take a dump, either one will work.&lt;/p&gt;
&lt;p&gt;The reasons for takig a dump would be &lt;/p&gt;
&lt;p&gt;a) to be able to look at it on a different machine &lt;/p&gt;
&lt;p&gt;b) to be able to continue working with the process while you are debugging&lt;/p&gt;
&lt;p&gt;c) to save it if you want to refer back to it&lt;/p&gt;
&lt;p&gt;but there is no difference between what you will see live or in a dump for this purpose... &lt;/p&gt;
</description></item><item><title>Sobre el porqué recomienda la documentación el uso de 1 en vez de 0 en Thread.Sleep(1) para Silverlight </title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9548122</link><pubDate>Tue, 14 Apr 2009 10:34:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9548122</guid><dc:creator>El blog de Marino Posadas</dc:creator><description>&lt;p&gt;Hola Iba a poner esto como respuesta al art&amp;amp;iacute;culo de Octavio sobre &amp;amp;quot;Qu&amp;amp;eacute; problema tiene&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9797216</link><pubDate>Mon, 22 Jun 2009 10:30:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9797216</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Tess,&lt;/p&gt;
&lt;p&gt;THANK YOU! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;This, combined with a number of other posts on your blog, helped me to identify and resolve a nasty memory leak in a Silverlight 2 photo gallery available on CodePlex called Slide.Show 2.&lt;/p&gt;
&lt;p&gt;If you're curious, here's some of the details...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://slideshow2.codeplex.com/Thread/View.aspx?ThreadId=60173"&gt;http://slideshow2.codeplex.com/Thread/View.aspx?ThreadId=60173&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You are a debugging goddess. &amp;nbsp;I stand in awe. &amp;nbsp;Thanks for imparting a little of your wisdom to the rest of us.&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9856124</link><pubDate>Mon, 03 Aug 2009 13:57:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9856124</guid><dc:creator>deano</dc:creator><description>&lt;p&gt;Hi Tess,&lt;/p&gt;
&lt;p&gt;Thanks for the helpful articles. I am finding them very useful.&lt;/p&gt;
&lt;p&gt;I am currently developing a silverlight app that gets live updates from a TCP publishing server. When to works the application runs very well but i think i have either a network threading problem or UI update exception because I can get some very random exceptions. Typically the output (with no callstack) is:&lt;/p&gt;
&lt;p&gt;System.ExecutionEngineException was unhandled&lt;/p&gt;
&lt;p&gt;Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module.&lt;/p&gt;
&lt;p&gt;I also sometime get a NullReferenceException with a stacktrace as follows:&lt;/p&gt;
&lt;p&gt;StackTrace	&amp;quot; &amp;nbsp; at System.Threading.Overlapped.get_UserCallback() &amp;nbsp; &amp;nbsp;at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)&amp;quot;	&lt;/p&gt;
&lt;p&gt;I would appreciate it if you could suggest any tools or methodologies for silverlight that would help diagnose what is casuing these issues.&lt;/p&gt;
&lt;p&gt;Thanks very much&lt;/p&gt;
&lt;p&gt;Deano&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9905401</link><pubDate>Fri, 09 Oct 2009 15:03:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9905401</guid><dc:creator>Aashish Gupta</dc:creator><description>&lt;p&gt;Hi Tess,&lt;/p&gt;
&lt;p&gt;I am getting this error while using the SOS.dll in Silverlight 3&lt;/p&gt;
&lt;p&gt;SOS not available while Managed only debugging. &amp;nbsp;To load SOS, enable unmanaged debugging in your project properties.&lt;/p&gt;
&lt;p&gt;I have looked on the net for this error all the solutions there are for windows applciations and there is no solution to tell how to enable unmanged debugging in Silverlight or Web applictions so could you please help me in finding that option.&lt;/p&gt;
&lt;p&gt;In windows application it comes when you do a right click on your solution and then click porperties and then debug&lt;/p&gt;
&lt;p&gt;and then enable unmanged debugging.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Aashish Gupta&lt;/p&gt;
</description></item><item><title>re: Debugging Silverlight applications with windbg and sos.dll</title><link>http://blogs.msdn.com/tess/archive/2008/08/21/debugging-silverlight-applications-with-windbg-and-sos-dll.aspx#9905432</link><pubDate>Fri, 09 Oct 2009 16:07:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9905432</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;If you are talking about sos in visual studio then I dont think you can set this for silverlight or asp.net apps (might be wrong) but you can debug by attaching to a process in visual studio and then you can choose what you want to debug (managed, native etc.)&lt;/p&gt;
</description></item></channel></rss>