<?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>Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx</link><description>This may seem like a preposterous statement, but unfortunately it’s all too common. In my work I go through a lot of dumps, somewhere in the neighborhood of 5-20 in a day:) Since the information is readily available to me, I usually do a quick check for</description><dc:language>sv-SE</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#498309</link><pubDate>Wed, 30 Nov 2005 15:37:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:498309</guid><dc:creator>Mike</dc:creator><description>Excellent post.&lt;br&gt;&lt;br&gt;One question: what performance hits are there when you use a try...catch block but no exception is actually thrown?</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#498331</link><pubDate>Wed, 30 Nov 2005 16:19:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:498331</guid><dc:creator>Igor Podpalchenko</dc:creator><description>Good post.&lt;br&gt;&lt;br&gt;Is the any way to avoid raise of exception in .NET for some section of code ( something like  uninterrupted critical section )? As example, how can i ignore ThreadAbortException in Dispose() to  minimize a risk that some unmanaged resources will not be closed?&lt;br&gt;&lt;br&gt;Something like &amp;quot;On Error Resume Next&amp;quot; in С# and without GOTO overheat.&lt;br&gt;&lt;br&gt;Thanks.</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#498811</link><pubDate>Thu, 01 Dec 2005 12:51:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:498811</guid><dc:creator>Tess</dc:creator><description>The ThreadAbort exception is a bit tricky, to not say very tricky, since its an asynchrounous exception and can be thrown at any point in your code, so there is really no good answer. The same applies to OutOfMemory exceptions, and the problem is you cant really try/catch here because they could happen in the catch as well.  &lt;br&gt;&lt;br&gt;In 2.0 Critical Finalizers are introduced to help out in this type of situation &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/cbrumme/archive/2004/02/20/77460.aspx"&gt;http://blogs.msdn.com/cbrumme/archive/2004/02/20/77460.aspx&lt;/a&gt;, so my recommendation would be to figure out why the threadabort exceptions occurr if they happen very frequently.  Normally you would get ThreadAbortExceptions when an ASP.NET request times out or when the application shuts down, in the latter case you should not have to worry about unreleased native resources as they will be released on shutdown. ThreadAbortExceptions caused by Redirect's are also not an issue here since it is not of the asynchronous type (i.e. it is induced on its own thread in a controlled manner). So you can't really write 100% reliable code but with the introduction of CER's and Critical Finalizers things will be much better...&lt;br&gt;&lt;br&gt;To answer Mike's question... The performance hit of a try/catch without an exception is negligeable. </description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#498825</link><pubDate>Thu, 01 Dec 2005 13:38:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:498825</guid><dc:creator>Igor Podpalchenko</dc:creator><description>In this case, it isn't possible to write types that are realy safe for multithreaded operations in 1.1. Why does MS not implemented something like this ?:&lt;br&gt;&lt;br&gt;// Switch to manual exception handling&lt;br&gt;SwitchToManualExceptions();&lt;br&gt;&lt;br&gt;// Exception critical code&lt;br&gt;...&lt;br&gt;...&lt;br&gt;...&lt;br&gt;&lt;br&gt;// Gets raised exceptions&lt;br&gt;GetLastError();&lt;br&gt;&lt;br&gt;It's sounds very strange and weird that MS not included those useful features in .NET.</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#498854</link><pubDate>Thu, 01 Dec 2005 16:21:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:498854</guid><dc:creator>Tess</dc:creator><description>That is exactly what is being introduced in 2.0 with the CER's and Critical Finalizers, but to be perfectly honest with all the issues i have seen, i have very seldom or ever seen problems caused by this. If you don't count problems caused by OutOfMemory exceptions in which case we work on finding the memory hogs and resolve it this way.&lt;br&gt;&lt;br&gt;Since to my knowledge, ThreadAbort's dont abort unmanaged code you would not get something like an orphaned critical section. &lt;br&gt;&lt;br&gt;A lot of things have changed in the reliability area for 2.0. If you are interested in reading more...  &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/cbrumme/archive/2003/06/23/51482.aspx"&gt;http://blogs.msdn.com/cbrumme/archive/2003/06/23/51482.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;  </description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#499315</link><pubDate>Fri, 02 Dec 2005 13:56:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:499315</guid><dc:creator>Igor Podpalchenko</dc:creator><description>Thanks for your comments. I'll try to figure out&lt;br&gt;how this problem solved in 2.0 .</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#505978</link><pubDate>Tue, 20 Dec 2005 20:25:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:505978</guid><dc:creator>NAVEEN</dc:creator><description>Hi,&lt;br&gt;  !dumpallexeptions or dae is still not part of the SOS.dll . Is this command still not available for public?&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#506260</link><pubDate>Wed, 21 Dec 2005 12:21:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:506260</guid><dc:creator>Tess</dc:creator><description>Are you talking about 1.1 or 2.0?&lt;br&gt;&lt;br&gt;For 1.0 and 1.1. if you use the sos.dll that comes with windbg.exe version 6.5.0003.7 under the clr10 directory it should be there.  &lt;br&gt;&lt;br&gt;use .load clr10\sos to get this version&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#517003</link><pubDate>Tue, 24 Jan 2006 22:31:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:517003</guid><dc:creator>Brian Watt</dc:creator><description>Question: Are finally blocks as expensive as throwing exceptions?  If so, are using blocks similarly expensive?&lt;br&gt;&lt;br&gt;Thanks.</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#517304</link><pubDate>Wed, 25 Jan 2006 10:44:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:517304</guid><dc:creator>Tess</dc:creator><description>no, the expensiveness is not in the try/catch/finally blocks, those are usually a one instruction jmp (perhaps with a test first). The expensive part is actually throwing the exception, i.e. having an exception handler with no exceptions thrown is very inexpensive.   &lt;br&gt;&lt;br&gt;Just to clarify, It's very important to use exception handlers around code that could cause exceptions... what I wanted to say in my post was that it is equally important to know what your exceptions are so that a) you can eliminate the ones that are not necessary and b) you can act appropriately on the exceptions that really are valid exceptions.  &lt;br&gt;&lt;br&gt;The using statement is just a dev time shortcut to writing the code that would otherwise close or dispose objects etc. so at runtime your IL for doing this manually vs. using the using statement should be approximately the same.  </description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#519348</link><pubDate>Mon, 30 Jan 2006 18:32:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:519348</guid><dc:creator>Brandon</dc:creator><description>Your blogs have been very helpful!  So what if I have found the object that is not being released but it has no &amp;lt;root&amp;gt;?  It is a class that had a Socket as a member variable, that is getting a SocketException.  Is it b/c there is some interop to make socket calls?&lt;br&gt;&lt;br&gt;thanks.&lt;/br&gt;&lt;/br&gt;</description></item><item><title>Exceptions can take you into unnecessary code paths</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#525827</link><pubDate>Mon, 06 Feb 2006 20:48:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525827</guid><dc:creator>Jeff Stong</dc:creator><description>Tim, a fellow Compuware blogger, forwarded me a link to this Microsoft blog entry: Are you aware that...</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#535939</link><pubDate>Tue, 21 Feb 2006 13:24:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:535939</guid><dc:creator>Howard</dc:creator><description>Hi Tess&lt;br&gt;&lt;br&gt;In the application I work on there are a fair number of ObjectDisposedExceptions. While I'm not expecting any specific help with that as it's my problem, I'm interested to know whether you've come across this before. There's only ever .NET code on the exception thread (I can cope when the exceptions in our code :). &lt;br&gt;&lt;br&gt;The actual exception is thrown after System.Net.Sockets.Socket.EndReceive() is called (which I assume is all internal to ASP.NET). &lt;br&gt;&lt;br&gt;Maybe our code isn't waiting around long enough (although I can't see how), or even worse it's a total design fault.&lt;br&gt;&lt;br&gt;Thanks </description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#535954</link><pubDate>Tue, 21 Feb 2006 14:33:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:535954</guid><dc:creator>Tess</dc:creator><description>Hi Howard,&lt;br&gt;&lt;br&gt;That particular problem is a bit hard to track down because it is a very generic error message that can occurr either because the request took too long or because of network issues. And it happens on a different thread as you mention because the calls are often async. &lt;br&gt;&lt;br&gt;Here is an article with one of the causes&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/?id=884537"&gt;http://support.microsoft.com/?id=884537&lt;/a&gt;&lt;br&gt;&lt;br&gt;I would run !dae -v to dump all the exceptions and see if you get any clues from other exceptions that might have this as an inner exception. &lt;br&gt;&lt;br&gt;Alternatively generate dumps on clr exceptions as described in my post on 40.000 exceptions and see what else is occurring around the same time. &lt;br&gt;&lt;br&gt;A third option is to run netmon traces at the same time and see if someone (proxy etc.) might prematurely be shutting down connections for you by sending resets. But as i said, fairly hard to track down. &lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Tess</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#536735</link><pubDate>Wed, 22 Feb 2006 12:25:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:536735</guid><dc:creator>Howard</dc:creator><description>Hi Tess&lt;br&gt;&lt;br&gt;Thanks for your reply.&lt;br&gt;&lt;br&gt;I'm not uploading a file or using SSL when these exceptions occurred so that rules out the that support issue and this happens even when running as localhost.&lt;br&gt;&lt;br&gt;I think generating dumps as the exceptions happen is the way forward, BTW our application uses an ASP.NET front-end (C#) talking to a ATL 7.0 webservice (mixed mode C++ ISAPI extension dll).&lt;br&gt;&lt;br&gt;Maybe you could blog about the internal workings of the low level sockets stuff in ASP.NET, there's some stuff I've found in MSDN, but it's not too the depth or detail that you go to.</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#537851</link><pubDate>Thu, 23 Feb 2006 17:44:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:537851</guid><dc:creator>Howard</dc:creator><description>One thing I should have mentioned 3 posts up is that the ObjectDisposedException _always_ occurs on the threadpool completion port thread (rather than any of the threadpool workers). &lt;br&gt;&lt;br&gt;</description></item><item><title>Nine tips for a healthy &amp;amp;quot;in production&amp;amp;quot; ASP.NET application</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#569693</link><pubDate>Thu, 06 Apr 2006 10:55:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:569693</guid><dc:creator>Notes from a dark corner</dc:creator><description>The following are based on problems I see people having every day in production ASP.NET systems.&lt;br&gt;1....</description></item><item><title>.Net exceptions - Tracking down where in the code the exceptions occurred</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#601003</link><pubDate>Thu, 18 May 2006 17:31:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:601003</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>I have written earlier about how to track down exceptions using configuration scripts for adplus.&amp;amp;amp;nbsp;...</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#603680</link><pubDate>Mon, 22 May 2006 12:39:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:603680</guid><dc:creator>Teagan</dc:creator><description>i'd like to know more about orphaned case error in bluej, cause there is no help on their tutorials</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#603778</link><pubDate>Mon, 22 May 2006 16:37:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:603778</guid><dc:creator>Tess</dc:creator><description>im sorry to say that i unfortunately know nothing about bluej</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#673114</link><pubDate>Thu, 20 Jul 2006 23:27:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:673114</guid><dc:creator>Zero Wing</dc:creator><description>Bravo!</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#679639</link><pubDate>Thu, 27 Jul 2006 03:41:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:679639</guid><dc:creator>boby</dc:creator><description>hi tess, &lt;br&gt;I have a question regarding creation of dump when a specific exception occurs. I noticed that the second TrackCLR.cfg file uses clr10 command. How do i do the same thing using version 2.0 of the clr? THanks</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#688345</link><pubDate>Fri, 04 Aug 2006 10:50:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:688345</guid><dc:creator>Tess</dc:creator><description>Boby,&lt;br&gt;&lt;br&gt;Here is a sample of a config file you can use (make sure you either store sos.dll in the windbg or other accessible directory or change the path for !load):&lt;br&gt;&lt;br&gt;This will dump on certain exceptions and just !clrstack on others, and you run it using &lt;br&gt;&lt;br&gt;adplus -c nameofconfigfile.cfg&lt;br&gt;&lt;br&gt;&amp;lt;ADPlus&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Settings&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;RunMode&amp;gt; CRASH &amp;lt;/RunMode&amp;gt;&lt;br&gt; &amp;nbsp; 	&amp;lt;OutputDir&amp;gt; c:\dumps &amp;lt;/OutputDir&amp;gt;&lt;br&gt;	&amp;lt;Option&amp;gt; Quiet &amp;lt;/Option&amp;gt;&lt;br&gt; &amp;nbsp; &lt;br&gt;	&amp;lt;ProcessName&amp;gt; w3wp.exe &amp;lt;/ProcessName&amp;gt;&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/Settings&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;PreCommands&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- defines a set of commands to execute before the sxe and bp commands --&amp;gt;&lt;br&gt; &amp;nbsp; 	&amp;lt;cmd&amp;gt;r $t1 = 0&amp;lt;/cmd&amp;gt;&lt;br&gt; &amp;nbsp; 	&amp;lt;cmd&amp;gt;r $t2 = 0&amp;lt;/cmd&amp;gt;&lt;br&gt; &amp;nbsp; 	&amp;lt;cmd&amp;gt;!load sos&amp;lt;/cmd&amp;gt;&lt;br&gt; &amp;nbsp; 	&amp;lt;cmd&amp;gt;!threads&amp;lt;/cmd&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/PreCommands&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Exceptions&amp;gt;&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Config&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Code&amp;gt;AllExceptions&amp;lt;/Code&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Actions1&amp;gt;Log&amp;lt;/Actions1&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Actions2&amp;gt;Void&amp;lt;/Actions2&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Config&amp;gt;&lt;br&gt;&lt;br&gt;	&amp;lt;Config&amp;gt;&lt;br&gt;		&amp;lt;Code&amp;gt;CLR&amp;lt;/Code&amp;gt;&lt;br&gt;		&amp;lt;Actions1&amp;gt;Log&amp;lt;/Actions1&amp;gt;&lt;br&gt;		&amp;lt;CustomActions1&amp;gt;!soe System.Exception 1;!soe System.InvalidOperationException 2;.if(@$t1==1 | @$t2==1) {.echo 'System.Exception or InvalidOperationException occurred';.dump /ma c:\dumps\myExceptionDump.dmp;gn} .else {.echo 'some other exception occurred';!clrstack;gn}&amp;lt;/CustomActions1&amp;gt;	&lt;br&gt;	&amp;lt;/Config&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/Exceptions&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/ADPlus&amp;gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#694644</link><pubDate>Thu, 10 Aug 2006 22:10:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:694644</guid><dc:creator>Ravi</dc:creator><description>Hi Tess,&lt;br&gt;&lt;br&gt;Very interesting article, and cleared most of the exceptions in my application using sxe -c &amp;quot;!cen;!clrstack;gn&amp;quot; CLR, but then I found you are using adplus command... Wondering, if you could please explain me on where to write TrackCLR.cfg and how to run adplus.. On the command, if I give adplus, it is saying 'No information available'&lt;br&gt;&lt;br&gt;thanks</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#695103</link><pubDate>Fri, 11 Aug 2006 08:53:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:695103</guid><dc:creator>Tess</dc:creator><description>Hi Ravi,&lt;br&gt;&lt;br&gt;Adplus is located in the windbg directory. If you copy the text above into TrackClr.cfg and put it in the same directory and then navigate there with the command line, you should be able to run &lt;br&gt;&lt;br&gt;adplus -c TrackCLR.cfg&lt;br&gt;&lt;br&gt;However, your way of doing it works perfectly well too, you are just doing it live. &amp;nbsp;The only thing adplus does is to attach with cdb and run sxe -c &amp;quot;!cen;!clrstack;gn&amp;quot; CLR in this case... &amp;nbsp; &amp;nbsp; </description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#697287</link><pubDate>Sun, 13 Aug 2006 15:10:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:697287</guid><dc:creator>Patrick</dc:creator><description>Tess,&lt;br&gt;&lt;br&gt;Great article. &amp;nbsp;Will take me a week to learn it all.&lt;br&gt;&lt;br&gt;BTW, you are cute!&lt;br&gt;&lt;br&gt;Patrick&lt;br&gt;</description></item><item><title>Debugging Production Applications using ADPlus</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#765480</link><pubDate>Fri, 22 Sep 2006 05:06:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:765480</guid><dc:creator>mattonsoftware.com</dc:creator><description>ADPlus is a tool that is used to take snapshots of processes in&amp;amp;amp;nbsp;environments where development-time...</description></item><item><title>ASP.NET 2.0 - Investigating .NET Exceptions with WinDbg (Compilation and Load Exceptions)</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#822203</link><pubDate>Fri, 13 Oct 2006 18:12:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:822203</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;I have talked in earlier posts about how to log and debug .net exceptions with WinDBG. All .NET exceptions&lt;/p&gt;
</description></item><item><title>Debugging Production Applications using ADPlus</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#1442148</link><pubDate>Wed, 10 Jan 2007 06:47:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1442148</guid><dc:creator>mattonsoftware.com</dc:creator><description>&lt;p&gt;ADPlus is used to take snapshots of processes in environments where development-time debugging tools&lt;/p&gt;
</description></item><item><title>Nine tips for a healthy "in production" ASP.NET application</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#3401022</link><pubDate>Tue, 19 Jun 2007 12:31:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3401022</guid><dc:creator>Notes from a dark corner</dc:creator><description>&lt;p&gt;The following are based on problems I see people having every day in production ASP.NET systems. 1 .&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7307245</link><pubDate>Tue, 29 Jan 2008 18:31:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7307245</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Is there an alternative to using !dae for framework version 2.0? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;It's really pissing me off that framework 2.0 has been out forever now and most of the really useful commands available in sos.dll for 1.1 are not available for 2.0. &amp;nbsp;It's making my life very difficult as all of our apps are on 2.0.&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7307515</link><pubDate>Tue, 29 Jan 2008 18:50:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7307515</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;Hi Scott,&lt;/p&gt;
&lt;p&gt;The best alternative is !dumpheap -type Exception or !dumpheap -type *Exception to dump out all .net exceptions.&lt;/p&gt;
&lt;p&gt;You could also do something like &lt;/p&gt;
&lt;p&gt;.foreach (ex {!dumpheap -type Exception -short}){!pe ${ex}} &amp;nbsp;if you want to list them all with stacks... &lt;/p&gt;
&lt;p&gt;/Tess&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7308408</link><pubDate>Tue, 29 Jan 2008 20:05:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7308408</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Wow, that was fast! &amp;nbsp;Yeah, that is basically what I have been doing. &lt;/p&gt;
&lt;p&gt;Is there any word on when sos.dll might be updated to have the old functionality again?&lt;/p&gt;
&lt;p&gt;I've been trying to track down a particularly nasty problem that has been manifesting itself as an intermittent threadabort exception in one of our production environments. I suspect the underlying error is something different that just happens to be resulting in a threadabort. &lt;/p&gt;
&lt;p&gt;We can't consistently reproduce it unfortunately.&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7308517</link><pubDate>Tue, 29 Jan 2008 20:13:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7308517</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Also the exceptions in my dump don't seem to have stack traces which is not helping...&lt;/p&gt;
&lt;p&gt;Another random question for you.... When I left ADPlus attached to the IIS process in QUIET mode to catch ThreadAbort exceptions an end user of the website got a dialog from the browser informing her that a memory dump was occurring. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this normal? &amp;nbsp;Is there a way we can prevent that from happening?&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7322374</link><pubDate>Wed, 30 Jan 2008 11:21:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7322374</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;sos won't really help you with the fact that they don't have the stacktraces populated:) &amp;nbsp;but that is something you see often for threadaborts when they are due to timeouts or appdomain/process shutdowns.&lt;/p&gt;
&lt;p&gt;Only time i've ever seen a stack for a threaabort is the threadaborts that you get from using Response.Redirect where it aborts the current request to avoid running the rest of the page.&lt;/p&gt;
&lt;p&gt;I can't say when a certain method will be implemented in sos. &amp;nbsp;Basically the issue is that it is not a straight port because of the changes between debugging .net in 1.1 and 2.0 but sos is constantly being updated.&lt;/p&gt;
&lt;p&gt;I can't say why the end user got the messagebox in the browser, to be honest that sounds really really weird to me. &amp;nbsp;It is not somehting that adplus/windbg will do so either it has to be something in the app itself or maybe a jit-debugging box because of a timeout in the browser or something... &amp;nbsp; &lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#7326987</link><pubDate>Wed, 30 Jan 2008 17:08:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7326987</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;There were actually some other exceptions in the dump besides the threadabort and none of them had stack traces. Could that be a result of something I'm doing incorrectly when capturing the dumps?&lt;/p&gt;
&lt;p&gt;The problem we've got is that we we can not reproduce the issue with any frequency. When it happens the error that is getting reported to the users is a ThreadAbort as the result of a response.redirect, however no part of the process they are executing at the time they see the error is executing a redirect. This makes me think that somehow this error is masking the real underlying error. There have been no entries in the windows eventlog for app/process shutdowns or timeouts at the time the errors have occurred.&lt;/p&gt;
&lt;p&gt;Do you have any advice for what might be the best approach to try and find the source of a problem like this? &lt;/p&gt;
</description></item><item><title>Catch Exceptions on x64</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#8436487</link><pubDate>Tue, 29 Apr 2008 06:33:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8436487</guid><dc:creator>From Mind To Words</dc:creator><description>&lt;p&gt;Hello All, Just recently I came across an incident on which a customer saw the following exception in&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9164542</link><pubDate>Tue, 02 Dec 2008 16:45:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9164542</guid><dc:creator>Diego Jancic</dc:creator><description>&lt;p&gt;Amazing post!.&lt;/p&gt;
&lt;p&gt;I'm receiving a &amp;quot;Doesn't work with 2.x&amp;quot; when I try to run !cen or something like that. Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9164557</link><pubDate>Tue, 02 Dec 2008 16:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9164557</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;!cen doesnt exist in the 2.0 version of sos, &amp;nbsp;there is a config file in the comments of this post that you might be able to use instead. &amp;nbsp;For just looking at an exception use !pe instead of !cen&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9533410</link><pubDate>Mon, 06 Apr 2009 11:46:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9533410</guid><dc:creator>Stephan Hartmann</dc:creator><description>&lt;p&gt;Fine post...&lt;/p&gt;
&lt;p&gt;confirms my opionion that throwing exceptions on any and every issue seems not the good practice as it ist always taught, and that the old- fashioned style to check on known issues before relaying on getting an exception (I coded a lot in C) is still up to date.&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9557706</link><pubDate>Tue, 21 Apr 2009 02:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9557706</guid><dc:creator>Richard Turner [MSFT]</dc:creator><description>&lt;p&gt;Stephan - in .NET, exceptions are vitally important, but (as you implied) should not be abused. The .NET Framework Design Guidelines book provides ample guidance on when exceptions should and shouldn't be used.&lt;/p&gt;
&lt;p&gt;The general rule of thumb is that if a given method is unable to complete the task that its name implies, it should throw an appropriate exception.&lt;/p&gt;
&lt;p&gt;For example, if File.Open() can't find/open the requested file, it should throw. If CustomerList.AddNewCustomer(...) can't add a new customer, it should throw. etc.&lt;/p&gt;
&lt;p&gt;The alternative is a return to the Win32/VB way of doing things - having to check the outcome of every method call each and every time you call them!&lt;/p&gt;
&lt;p&gt;Exceptions should reflect a perspective that, from the called method's perspective, it is unable to complete it's action and doesn't know what to do next. &lt;/p&gt;
&lt;p&gt;If you have a method that is quite likely to fail, consider using the bool Try&amp;lt;verb&amp;gt;&amp;lt;adjective&amp;gt;(...) patterm that returns a bool result but which is also called by the &amp;lt;verb&amp;gt;&amp;lt;adjective&amp;gt;(...) method that throws if the Try...() version fails. This way, if you're expecting the operation to fail, you can call the Try...() variation and test the result, but otherwise, call the non-try version and catch exceptions where you're able to back-out of the operation cleanly.&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9799599</link><pubDate>Tue, 23 Jun 2009 18:28:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9799599</guid><dc:creator>CullisonX</dc:creator><description>&lt;p&gt;The original post is specious.&lt;/p&gt;
&lt;p&gt;We, the general developer community, didn't encode hundreds or thousands of exceptions that occur over the course of a regular application. &amp;nbsp;Microsoft did. &amp;nbsp;Microsoft's .NET architect(s) created the framework to throw exceptions instead of return result codes or the like, adding even more overhead to the normal operation of a program.&lt;/p&gt;
&lt;p&gt;I have *not* thrown over 40,000 exceptions. &amp;nbsp;.NET did. &amp;nbsp;Microsoft did. &amp;nbsp;Don't blame us for a poor architectural choice.&lt;/p&gt;
&lt;p&gt;As Richard Turner put it in the previous comment, &amp;quot;The general rule of thumb is that if a given method is unable to complete the task that its name implies, it should throw an appropriate exception.&amp;quot;&lt;/p&gt;
&lt;p&gt;Even more specious, Turner says, &amp;quot;The alternative is a return to the Win32/VB way of doing things - having to check the outcome of every method call each and every time you call them!&amp;quot;&lt;/p&gt;
&lt;p&gt;As opposed to, say, using a try/catch block around every call into .NET? &amp;nbsp;Other than the extreme overhead of using exceptions for normal operating conditions, and the syntax differences between testing error codes versus testing caught exceptions, what's the difference? &amp;nbsp;Give me a good return code any day.&lt;/p&gt;
&lt;p&gt;Oh, wait, there's a better way? &amp;nbsp;&amp;quot;If you have a method that is quite likely to fail, consider using the bool Try&amp;lt;verb&amp;gt;&amp;lt;adjective&amp;gt;(...) patterm...&amp;quot; &amp;nbsp;*sigh* &amp;nbsp;That's not the actual pattern (&amp;lt;adjective&amp;gt; is probably better served by &amp;lt;property&amp;gt; or &amp;lt;noun&amp;gt;, for example), but nevertheless, it just complicates the API. &amp;nbsp;Now, every operation hopefully has two different calls, one for the exceptioned version, and another for the test version. &amp;nbsp;Either way, I have extra, unnecessary overhead.&lt;/p&gt;
&lt;p&gt;The sad thing is that so many Microsoft engineers know why using exceptions is a bad thing, yet somehow this managed to slip into .NET in spite of them. &amp;nbsp;Architecture review, anyone?&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9800490</link><pubDate>Wed, 24 Jun 2009 02:44:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9800490</guid><dc:creator>daveblack</dc:creator><description>&lt;p&gt;The core of the problem is that 98% or developers have no clue what the difference is between an error and an exception. &amp;nbsp;Note that I'm not referring to anyone in these responses - just in general. &amp;nbsp;This is based on my experience in Consulting for 15 years. &amp;nbsp;Some treat exceptions as errors and others treat errors as exceptions. &amp;nbsp;You have to have clear architectural guidelines when developing a Framework that define an error and an exception, when to use each, and how the application should react under each scenario.&lt;/p&gt;
&lt;p&gt;A trivial example of an error is entering alphabetic characters in a US phone number field. &amp;nbsp;Ok, so it's a *user* error but you get what I mean. &amp;nbsp;An exceptional case is an &amp;quot;OutOfMemory&amp;quot; exception. &amp;nbsp;Possibly a network timeout, SQL Server problem, etc.&lt;/p&gt;
&lt;p&gt;With regard to the comment made by CullisonX about wrapping .NET Framwork calls with TRY/CATCH blocks is hopefully facetious. &amp;nbsp;You never use a TRY/CATCH in a method unless the method cannot continue in an exceptional scenario, needs to do some cleanup, can possibly recover from, or add additional information to the exception such as the state of the data or values when the exception occurred. &amp;nbsp;In other words, don't use TRY/CATCH design IF you EXPECT something could very well fail. &amp;nbsp;This should be treated as an error instead.&lt;/p&gt;
&lt;p&gt;In other words, you only use TRY/CATCH if the local method &amp;nbsp;cares about it. &amp;nbsp;Otherwise, you add program overhead just by adding the TRY/CATCH blocks - and especially if you CATCH exceptions and do nothing with them in the place where the CATCH is.&lt;/p&gt;
&lt;p&gt;A good Architect, Tech Lead, etc. and Code Reviews should catch this and put the &amp;quot;Kaibash&amp;quot; on it!&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9800597</link><pubDate>Wed, 24 Jun 2009 04:26:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9800597</guid><dc:creator>Chris Sizemore</dc:creator><description>&lt;p&gt;I don't care who ya are - that's just specious.&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9810010</link><pubDate>Tue, 30 Jun 2009 23:28:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9810010</guid><dc:creator>MBCDev</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Excellent post - thank you! &amp;nbsp;I am currently debugging a rather large Visual Basic 6 application (EXE is about 30 Meg) that is doing exactly what you're talking about - I've just started watching the application using WinDbg and am seeing &amp;quot;Unknown exception - code c000008f (first chance)&amp;quot; occurrences rolling in almost constantly.&lt;/p&gt;
&lt;p&gt;Since this is unmanaged VB6 code, is it possible to eliminate these sorts of exceptions or are these happening under the sheets of VB6? &amp;nbsp;I have yet to get the pdb file for the app, but I guess I'm just curious as to what I'll find at the heart of all of these exceptions, if anything! &amp;nbsp;Will these point to VB error handlers or something inside of VB6 itself?&lt;/p&gt;
&lt;p&gt;Furthermore, is WinDbg really the right tool to do this sort of analysis? &amp;nbsp;We've run the application inside the VB environment enough to know that this is no simple problem with a few lines of code. &amp;nbsp;Something is happening behind the scenes that leads to a problem further on down the line at seemingly random locations, specifically Event ID 1000 Application Errors with no Category and no Faulting Module, or similarly vague reports including the application simply disappearing.&lt;/p&gt;
&lt;p&gt;Any help or advice you could provide would be greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?</title><link>http://blogs.msdn.com/tess/archive/2005/11/30/are-you-aware-that-you-have-thrown-over-40-000-exceptions-in-the-last-3-hours.aspx#9810463</link><pubDate>Wed, 01 Jul 2009 10:46:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9810463</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;c000008f is the standard vb exception if i recall correctly. &amp;nbsp;So if they are handled you probably have some on error resume or on error goto ... in the code.&lt;/p&gt;
&lt;p&gt;You can set up an adplus file like this&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc409011.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc409011.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Not sure why it mentions conditional CLR exceptions, i expect there was some typo in there because the CLR exception code is e0434f4d).&lt;/p&gt;
&lt;p&gt;Problem is that you may or may not get any good info from the stack depending on where it exceptions out... but it is worth a try. &amp;nbsp; &lt;/p&gt;
&lt;p&gt;You should probably change it to have it just show the stack rather than generating full dumps if they are happening very frequently. &amp;nbsp;&lt;/p&gt;
</description></item></channel></rss>