<?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>Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx</link><description>Prerequisites This post will require some basic knowledge of windbg and the sos extension. For this I recommend looking at the following posts: Getting started with WinDbg - Part I Getting started with WinDbg - Part II For more information on Exceptions</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#7382416</link><pubDate>Sat, 02 Feb 2008 07:44:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7382416</guid><dc:creator>baal</dc:creator><description>&lt;p&gt;i have translated your articles to chinese, I am a beginner of .net debugging. My web application has many Performance problems, your articles are so useful to me. but there is not enough info to teach a beginner to solve the trouble. but i will keep studying, follow your articles,keep &amp;nbsp;translating,and learn more.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.cnblogs.com/softfair/category/121611.html"&gt;http://www.cnblogs.com/softfair/category/121611.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.sula.cn/Default.aspx?cat=9"&gt;http://www.sula.cn/Default.aspx?cat=9&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#7382750</link><pubDate>Sat, 02 Feb 2008 08:17:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7382750</guid><dc:creator>baal</dc:creator><description>&lt;p&gt;the translated articles not put link back to author,sorry. and typesetting is bad ！^_^&lt;/p&gt;
&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#7909014</link><pubDate>Tue, 26 Feb 2008 23:09:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7909014</guid><dc:creator>Hakan Kutluay</dc:creator><description>&lt;p&gt;Hi Johan,&lt;/p&gt;
&lt;p&gt;When i want to run !printexception (!pe), !dumpallexceptions (!dae) commands both i got error like &amp;quot;0:009&amp;gt; !dae No export dae found&amp;quot; &lt;/p&gt;
&lt;p&gt;I thought that i correctly configured symbol files and load sos.dll &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Hakan&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#8904478</link><pubDate>Fri, 29 Aug 2008 07:07:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8904478</guid><dc:creator>Arnold Park</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;can i use the !dae command in .net fx 2.0 environment?&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#8956773</link><pubDate>Thu, 18 Sep 2008 09:20:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956773</guid><dc:creator>JohanS</dc:creator><description>&lt;p&gt;I'm afraid not. The !dae command is no longer with us in the 2.0 version of sos. Like I say in the post above:&lt;/p&gt;
&lt;p&gt;&amp;quot;Unfortunately the !dae command is not available in version 2.0 of sos.dll. Still, it's quite easy to get (more or less) the same result by using the !dumpheap command. If we just type &amp;quot;!dumpheap -type Exception&amp;quot; we'll get a list of all objects with the string &amp;quot;Exception&amp;quot; in their class name. This is almost as good.&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#9893732</link><pubDate>Thu, 10 Sep 2009 19:17:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9893732</guid><dc:creator>David McMurray</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm currently trying to debug a .NET Framework 1.1 web application and working my way through all I can find on this, and your articles are certainly helping me to understand how it's done.&lt;/p&gt;
&lt;p&gt;But I am having some problems with the commands that apparently should be in the 1.1 version of SOS.dll. I have tried SOS.dll version 1.1.4322.2032 and downloaded and tried 1.1.4322.573 but neither of these have the !printexception/!pe or !dumpallexceptions/!dae commands. Whenever I try to use !pe for example I get 'No export pe found'.&lt;/p&gt;
&lt;p&gt;!help only lists the following commands: COMState, ClrStack, DumpClass, DumpDomain, DumpHeap, DumpMD, DumpMT, DumpModule, DumpObj, DumpStack, DumpStackObjects, DumpVC, EEHeap, EEStack, EEVersion, FinalizeQueue, GCInfo, GCRoot, IP2MD, Name2EE, ObjSize, ProcInfo, RWLock, SyncBlk, ThreadPool, Threads, Token2EE and u.&lt;/p&gt;
&lt;p&gt;Any ideas why these commands are missing?&lt;/p&gt;
&lt;p&gt;Unfortunately my app, that was working perfectly until I put some duplicate code into a separate class, is crashing after some Javascript opens a modal window containing an ASPX page, but before that page runs any code I can debug in Visul Studio 2003. So I'm trying to debug this with WinDbg.&lt;/p&gt;
&lt;p&gt;Message	External component has thrown an exception.&lt;/p&gt;
&lt;p&gt;Source	System.Web DEV &lt;/p&gt;
&lt;p&gt;TargetSite	Void ThrowIfCompilerErrors(System.CodeDom.Compiler.CompilerResults, System.CodeDom.Compiler.CodeDomProvider, System.CodeDom.CodeCompileUnit, System.String, System.String)&lt;/p&gt;
&lt;p&gt;StackTrace	at System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString) at System.Web.Compilation.BaseCompiler.GetCompiledType() at System.Web.UI.PageParser.CompileIntoType() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()&lt;/p&gt;
</description></item><item><title>re: Using WinDbg - Hunting Exceptions</title><link>http://blogs.msdn.com/johan/archive/2008/01/31/using-windbg-hunting-exceptions.aspx#9904276</link><pubDate>Wed, 07 Oct 2009 13:38:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904276</guid><dc:creator>JohanS</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Apparently these commands are no longer available for the public version of SOS. An educated guess as to why that is would be that the command depends on information that is no longer available in the public symbols.&lt;/p&gt;
&lt;p&gt;You'll have to use the, almost as good; &amp;quot;!dumpheap -type Exception&amp;quot; as described above.&lt;/p&gt;
&lt;p&gt;/ Johan&lt;/p&gt;
</description></item></channel></rss>