Sunday, June 16, 2013

WPF Memory Dump Analyzer

After I published my post on debugging dependency properties with WinDbg, I figured out that the process that I described can be easily automated, which in turn, can be a great opportunity to take the new ClrMD library for a test drive. Thanks to ClrMD, I managed to come up pretty quick with a fairly reasonable POC. In this post, I want to introduce you to the result of that test drive: WPF Memory Dump Analyzer.

WPF Memory Dump Analyzer is a tool that scans a memory dump of a WPF application for all the dependency objects on the managed heap. For each one of them it lists the dependency properties, their default values and their effective values.

To get started, launch the application and drag a memory dump into it:

QR: Inline image 1