I recently found myself wanting to dump an object into a human readable text format for debugging purposes. I first looked into Microsoft’s ObjectDumper class included in the samples folder of Visual Studio 2008.
It works okay but by default it outputs to the console and isn’t formatted very well. I spent about half an hour modifying it to my liking but I still couldn’t get it looking right and just wanted something easier to work with.