Short note on some debugging related stuff…

December has been a very busy month, so I am sorry that I haven’t had time to write anything… However, Maoni has come out with some very noteworthy material, stuff that is essential to know in order to interpretthe data we are debugging correctly. There are 3 articles about the difference between perf data reported by…

1

ASP.NET Crash: Bad CacheItemRemovedCallback – Part II

In August I wrote about how you could cause a nasty high memory situation by using CacheItemRemovedCallbacks improperly, today I got a case where improper use of CacheItemRemovedCallback caused a crash, so I figured I’ll use it to show you how you can use them to bring down your website in seconds… Problem description The scenario is a…

13

ASP.NET Case Study: Bad perf, high memory usage and high CPU in GC – Death By ViewState

I get enough issues relating to bad perf caused by large viewstate that I felt like it is time to dedicate some blog space to it, so here is a typical problem description for this type of problem. Problem description: Under high load the ASP.NET application will completely go down and stop serving pages, at…

24

.NET Hang Debugging Walkthrough

  I have talked about a number of different hang/performance issues in my posts.  This post is a generic debugging walkthrough for hangs.  It applies to all types of .NET processes and to some extent also to non-.net processes even though it has some .net specific items. Define the hang/performance issue The first step in…

35

ASP.NET 2.0 – Investigating .NET Exceptions with WinDbg (Compilation and Load Exceptions)

I have talked in earlier posts about how to log and debug .net exceptions with WinDBG.   All .NET exceptions derive from System.Exception and with the following member variables. Data HelpLink InnerException Message Source StackTrace TargetSite Apart from this basic information exceptions deriving from System.Exception usually add a few member variables where they store information specific…

19

My Blog posts in Chinese

Courtesy of Ring www.cnblogs.com/ring1981 some of my blog posts are now available in Chinese.  Thank you much Ring for taking the time to translate… Unfortunately I can’t read them, really wish I could but learning Chinese makes debugging seem like childs play:) Joi gin 🙂

6

ASP.NET Crash – Crazy looping in a SiteMap

It’s been a while again. Lots of prepping for the debugging workshops and a bit of re-modeling done to the house but now it’s time to write again… The other day I received an email about my blog with the following question (slightly paraphrased): I wanted to create a quick and dirty site map, so…

8

.NET Debugging – Reading material

I get so many emails asking for books and articles about the stuff I talk about in this blog, and I never answer them because I am a bit too lazy to come up with a list (*** shame on me ***), but I’ve learned now that laziness pays off, cause this morning Doug posted…

5

Upcomming Premier .NET debugging workshops in northern Europe

I know this might be a select group, but if you have a Premier contract with Microsoft, and you live in northern Europe, and you are interested in learning .NET debugging (ok, that narrows it dow to somewhere around 2 people:)), you might be interested in the 2-day workshops I will be delivering in Stockholm and…

6

.NET Memory usage – A restaurant analogy

My favourite author Simon Singh is a wiz at analogies. In his book The big bang he explains concepts like the doppler effect and the theory of relativity using analogies with frogs and trains that makes it not only easy to understand but you will remember them forever because of the picture they paint in…

58