<?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>Your debugging experience - I want to hear from you</title><link>http://blogs.msdn.com/tom/archive/2008/05/15/your-debugging-experience-i-want-to-hear-from-you.aspx</link><description>So I would like to hear from you guys.&amp;#160; I am getting ready to start working a lot on creating some debugging videos (I have already created one and just have to clean it up a little).&amp;#160; But it got me thinking that I would would to hear how you</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Your debugging experience - I want to hear from you</title><link>http://blogs.msdn.com/tom/archive/2008/05/15/your-debugging-experience-i-want-to-hear-from-you.aspx#8510814</link><pubDate>Fri, 16 May 2008 06:28:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8510814</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>re: Your debugging experience - I want to hear from you</title><link>http://blogs.msdn.com/tom/archive/2008/05/15/your-debugging-experience-i-want-to-hear-from-you.aspx#8513831</link><pubDate>Fri, 16 May 2008 19:55:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8513831</guid><dc:creator>Sean Patterson</dc:creator><description>&lt;p&gt;Greetings Tom,&lt;/p&gt;
&lt;p&gt;I've been following your blog a little bit now and in a lot of ways, I run a completely different gamut for my ASP.NET debugging.&lt;/p&gt;
&lt;p&gt;I got hooked on log4net a while back. I love the infrastructure it provides and by default, all my web apps are configured to log any caught and unhandled exceptions by dumping the exception into the log.&lt;/p&gt;
&lt;p&gt;By doing things this way, I can have a user friendly message displayed to the end user when something goes wrong, but still have a full dump of the stack trace for debugging purposes.&lt;/p&gt;
&lt;p&gt;Since I don't always have access to the server itself, I wrote a little web application (actually in CodePlex - &lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/hacksaw"&gt;http://www.codeplex.com/hacksaw&lt;/a&gt;) that will allow me to view the log entries. I pull up the log and find the error in question.&lt;/p&gt;
&lt;p&gt;Fortunately in my environment, 9 times out of 10, it winds up being a pretty simple error like a missing file or a missing parameter, which the end user can use the application to update.&lt;/p&gt;
&lt;p&gt;If things are worse than that, I simply modify the log4net configuration to go into DEBUG mode, which I have coded to dump additional information, such as start/end of methods, parameters passed in, and the like.&lt;/p&gt;
&lt;p&gt;After that point, I'll turn on the ASPNET tracer (which will also display the log4net items as well) and see if that opens up any doors.&lt;/p&gt;
&lt;p&gt;The final step for me comes to jumping back into my development machine and stepping through the debugger at the points of interest. Fortunately I haven't had to do this too many times, but I don't believe I'm running any of the high end stuff you're doing around here.&lt;/p&gt;
&lt;p&gt;Heck, I'm still learning about sos.dll and all those tricks, hence the reason I'm following this blog 8^D Keep up the great work!&lt;/p&gt;</description></item><item><title>re: Your debugging experience - I want to hear from you</title><link>http://blogs.msdn.com/tom/archive/2008/05/15/your-debugging-experience-i-want-to-hear-from-you.aspx#8514199</link><pubDate>Fri, 16 May 2008 21:04:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8514199</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Sean,&lt;/p&gt;
&lt;p&gt;Thanks for the comment. &amp;nbsp;That is some really great information and that is exactly what I am looking for. &amp;nbsp;I am trying to figure out the best way to create something that can be used by everyone. &amp;nbsp;I also want to see what we can do to help without the need for dumps so this is great information.&lt;/p&gt;
</description></item></channel></rss>