The sad story of the orphaned ReaderWriterLockSlim

Another day in the operations arena. Everything was working correctly, and performance counters had great values. CPU usage was near 0%… system idle. Suddenly a phone call and an angry voice from the other side. What??? The system seems down??? [Read More]
Tags: WinDbg, real case, post-mortem, .net internals

Inspecting DataTables with WinDbg

DataTables are great structures in .Net… they store a lot of data with a lot of different natures. Typed data, untyped, with lots of columns, with lots of rows… sometimes they can be used to cache data and do some local processing… [Read More]
Tags: WinDbg, trick

The mysterious case of the Deadlock

It was a promising day… A new shiny load test machine, the latest version of our software… We put all running together, and after some minutes the process got stuck. CPU usage was near 0%, we knew lots of requests were pending, but there was no productive work. Throughput 0... [Read More]
Tags: WinDbg, .net, post-mortem, real case

WinDbg and managed .NET processes

Ok, so you are a managed code developer and somebody told you WinDbg is an unmanaged code debugger… Well, in fact, it is, but there are plenty of extensions that make possible debugging managed processes. [Read More]
Tags: WinDbg, .net, post-mortem