.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

My application seems to hang. What do I do? โ€“ Part 1

Defining โ€œhangโ€ is a good place to start.   When people say โ€œhangโ€ they could mean all sorts of things. When I say โ€œhangโ€ I mean the process is not making progress โ€“ the threads in the process are either blocked (eg. deadlocked, or not scheduled because of threads from other processes) or executing code (madly) but not doing...

Understand the problem before you try to find a solution

So far Iโ€™ve never written a blog entry that gives out philosophical advices on doing performance work. But lately I thought perhaps itโ€™s time to write such an entry because Iโ€™ve seen enough people who looked really hard at some performance counters (often not correct ones) or some other data and asked tons of questions such as โ€œis this...