Sign in
If broken it is, fix it you should
Using the powers of the debugger to solve the problems of the world - and a bag of chips by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)
Tess Ferrandez
I work as a developer evangelist at Microsoft, and my job is to help developers make the most of their skills on the MS stack.
In this blog I share tips on anything from debugging and troubleshooting to development on platforms like Windows, Web, Windows Phone and Kinect. And also some random tidbits about computing and my life at MS.
If you are new here, start with:
My debugging labs (Buggy Bits)
My Silverlight labs (building a game)
XNA for Windows Phone Walkthrough (building a game)
Thanks for visiting my blog
@TessFerrandez
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search this blog
Tags
ASP.NET
Crash scenarios
Debugging
Debugging Labs
General debugging tidbits
JavaScript
Kinect SDK
Memory issues
Pages
Performance issues and hangs
presentation
Silverlight
SOSEX
Windows 8
Windows Phone
Windows8
XNA
Archive
Archives
May 2013
(1)
April 2013
(1)
May 2012
(1)
March 2012
(8)
August 2011
(3)
May 2011
(1)
December 2010
(1)
November 2010
(1)
September 2010
(3)
August 2010
(2)
June 2010
(1)
May 2010
(1)
April 2010
(3)
March 2010
(4)
February 2010
(2)
January 2010
(2)
December 2009
(2)
November 2009
(2)
October 2009
(4)
September 2009
(4)
August 2009
(2)
July 2009
(1)
June 2009
(3)
May 2009
(3)
April 2009
(5)
March 2009
(9)
February 2009
(2)
January 2009
(6)
November 2008
(8)
October 2008
(7)
September 2008
(7)
August 2008
(5)
July 2008
(1)
June 2008
(7)
May 2008
(12)
April 2008
(14)
March 2008
(12)
February 2008
(17)
January 2008
(5)
December 2007
(2)
November 2007
(1)
October 2007
(8)
September 2007
(3)
August 2007
(7)
June 2007
(5)
May 2007
(1)
April 2007
(5)
March 2007
(4)
January 2007
(1)
December 2006
(1)
November 2006
(2)
October 2006
(4)
September 2006
(3)
August 2006
(3)
June 2006
(1)
May 2006
(1)
April 2006
(5)
March 2006
(2)
February 2006
(8)
January 2006
(7)
December 2005
(3)
November 2005
(6)
October, 2007
MSDN Blogs
>
If broken it is, fix it you should
>
October, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
If broken it is, fix it you should
.NET Hang case study - High CPU because of poorly formatted regular expressions (Identifying tight loops)
Posted
over 6 years ago
by
Tess1
13
Comments
Sometimes you hear and accept advice but you don't really know the details behind it. That has always been the case with me and high CPU situations caused by badly formatted regular expressions. The reason I haven't really bothered to find out why is because I've never had a case on it until today... It's actually not that I haven't been interested, in fact regular expressions fascinate me in a geeky way. My favourite class in college was a class on " automata theory and formal languages " a class...
If broken it is, fix it you should
ASP.NET Crash: System.Security.Cryptography.CryptographicException
Posted
over 6 years ago
by
Tess1
13
Comments
This has been a busy month for blogging for me, I'm up to a whopping 8 posts this month including this one which is the most I have written in any given month (since Feb 2006)... We have seen a few cases lately where ASP.NET apps die due to an unhandled CryptographicException when finalizing a SafeHandle. Here is the explanation of why this happens and what you can do to avoid it. Problem description Intermittently ASP.NET will crash with the following entries in the appication eventlog...
If broken it is, fix it you should
.NET Finalizer Memory Leak: Debugging with sos.dll in Visual Studio
Posted
over 6 years ago
by
Tess1
10
Comments
Normally I write about issues that only manifest themselves in production environment, issues that you can't really reproduce in a controlled dev environment every time you perform a certain action. In those cases you need to use tools like windbg to gather dumps and do post-mortem debugging. Windbg works really well for those types of issues, but it has its shortcommings since it is not really a managed debugger so it is much harder to set breakpoints in .NET code or step through code, or even...
If broken it is, fix it you should
My Team is Hiring
Posted
over 6 years ago
by
Tess1
10
Comments
Time for a commercial break, If you read this blog you probably know what I do. If it is something that you would like to do for a living, now is your chance! My team (the Microsoft EMEA Internet Support Team) is hiring. We are primarily looking for a new team member in France (Paris/Les Ulis), but the main criteria apart from good skills in troubleshooting and specifically in the Internet sphere (IIS, ASP.NET etc.) and good customer service skills, is that the applicant speaks fluent French...
If broken it is, fix it you should
ASP.NET 2.0 OutputCaching - Download dialog box after browsing with SmartPhone
Posted
over 6 years ago
by
Tess1
6
Comments
A few days ago I got an interesting case with a customer who intermittently kept getting a download box with Safari and a similar one telling him that he has choosen to open Default.aspx, do you want to open or save the file, when browsing the site with FireFox. In IE it sometimes came back with the following message The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. Invalid...
If broken it is, fix it you should
Creating dumps with Windbg and writing ADPlus Config files
Posted
over 6 years ago
by
Tess1
5
Comments
My colleague Carlo just wrote a post on how to create dumps and how to configure ADPlus with config files, that I thought was really useful http://blogs.msdn.com/carloc/archive/2007/10/08/ok-now-how-do-i-capture-my-dump.aspx He also talks a little about DebugDiag, a tool for creating dumps and doing automated dump analysis for certain cases. Btw, the dumps you generate with debug diag can be read in windbd and vice versa since the dump format is exactly the same. Tess
If broken it is, fix it you should
Why is my app performing worse on .NET 2.0 than on 1.1 (or why aren't the oranges at work as tasty as the apples at home?)
Posted
over 6 years ago
by
Tess1
3
Comments
If you were to compare the taste of the oranges in the fruit basket at work to the taste of the apples you bought on your way home and realize that they taste differently, what would your conclusion about the difference in taste be? a) They taste differently because one is an apple and one is an orange b) The apple tastes better because you eat the apple at home relaxed in your sofa and the orange while you are coding at work c) The apple tastes better because it is fresh from the store (which...
If broken it is, fix it you should
Performance Testing Web Applications - New Patterns and Practices guide
Posted
over 6 years ago
by
Tess1
2
Comments
One of my old colleagues J.D. Meier has written a performance testing guide with the Patterns and Practices team. Here is a link to the guide, it's well worth reading: http://blogs.msdn.com/jmeier/archive/2007/10/27/now-on-msdn-patterns-practices-performance-testing-guidance-for-web-applications.aspx Laters, Tess
Page 1 of 1 (8 items)