Scott Nonnenberg on Debugger Visualizers in VS 2005
With code samples and screenshots based on the recent Community drop of Whidbey (VS 2005), Scott explains how to create your first debugger visualizer:
Debugger Visualizers on VS 2005 Community Tech Preview
... Visualizers allow for advanced, customized viewing of data while debugging. Today's data windows have their limitations; text-only, hierarchical, spatially constrained - not the best for viewing an image, for example. Visualizers allow you to create completely custom views using WinForms to best show the data within any managed object. Yes, unfortunately this feature will only available for the managed world. ...
Just a little side note... I've mentioned Scott and his blog a few times in previous posts, but I believe I spelled his last name wrong in every single one. You may not have noticed, but he did... and so it with great pleasure that I point out that I got it right this time (I hope).
Comments
- Anonymous
April 19, 2004
I just found out that the cool visualizer feature of VS 2005 is for managed code only. This feature is extremely cool and I was hoping that it would have been available to unmanaged C++ projects. Duncan Mackenzie wrote up an entry called Scott Nonnenberg on Debugger Visualizers in VS 2005, where you can find a lot more information on debugging. The visualizer feature allows you to write any Winform code you want in order to debug a variable. You basically select your watch variable, for instance, and select a visualizer like “Image”, “XML”, “spreadsheet”, etc....