blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Howard van Rooijen's Blog

Conchango Xml Visualizer for Visual Studio 2005 (RTM)

I released the first version of this tool back in April - and have spent a couple of days this week working on a Global List management tool for the Scrum Plug-in - which involved a lot of XmlDocument debugging - so I decided to update the Visualizer so it would work in the RTM version and added some new features too.

For those of you who have missed this excellent new feature in Visual Studio 2005 you can find more information out at Scott Nonnenberg's blog, but in summary, Visual Studio 2005 has really nice debugger features, DataTips are one, but Debugger Visualizers are another. A while ago I wrote an Xml Debugger Visualizer using the Lithium tree control.

Visualizers are associated with different CLR types and are a means of displaying complex type information. The Conchango Xml Visualizer is registered against the XmlDocument type.  In the screenshot below a breakpoint has been hit – if you mouse over the globalList variable a DataTip will appear – if you click on the spy glass icon you will launch the associated visualizer. If you select the down arrow icon (as pictured), a menu listing all available Debugger Visualizers for that type are displayed and you have to select the one you want to use.

XmlVisualizerDataTip.gif

This spawns the Xml Visualizer:

XmlVisualizer1.0.gif

There are a few new features in this release:

  • You can move the Xml tree around the screen, by holding down the shift key and clicking and dragging with the mouse.
  • You can also right click on the nodes, where you will have an option to:
    • View the raw Xml of the node
    • View the raw Xml of the document
    • Save the raw Xml of the node
    • Save the raw Xml of the document

You can get the binaries from my Project Distributor workspace:

Once you have downloaded the zip file, extract the contents and compile (in Release mode) then copy Lithium.dll and Conchango.XmlVisualizer.dll to the following directory:

C:\Documents and Settings\YourProfile\My Documents\Visual Studio 2005\Visualizers\

To scroll around the visualisation, hold down Ctrl and click and drag with the mouse.

Updated 06/11/2006: If you are trying to locate the Netron Project see my post "What happened to the Netron Project?"

Published 24 November 2005 18:49 by howard.vanrooijen
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Eric said:

Nice one :)
i just wonder why u are using WM_HSCROLL ?
Just need to set the AutoScrollMinSize of the lithium conbtrol, and in the onPaint event :
Graphics g = e.Graphics;
Point o = this.AutoScrollPosition;
g.TranslateTransform(o.X, o.Y);

Thx for your work
November 27, 2005 23:33
 

David Hayden - Sarasota Web Design Development - Florida said:

November 30, 2005 23:07
 

Javier G. Lozano said:

December 1, 2005 04:51
 

PuntoRete said:

December 1, 2005 13:05
 

PuntoRete said:

December 4, 2005 12:25
 

Andrej Tozon's blog said:

Personally, I don't like debugging - the word itself suggests your code is buggy ;) But since this...
January 13, 2006 15:46
 

Andrej Tozon's blog said:

Personally, I don't like debugging - the word itself suggests your code is buggy ;) But since this...
January 13, 2006 15:47
 

Andrej Tozon's blog said:

Personally, I don't like debugging - the word itself suggests your code is buggy ;) But since this...
January 13, 2006 15:48
 

Scott on Writing said:

January 13, 2006 20:34
 

Paul Venne said:

Great tool!

However I'm having problems scrolling? I guess I'll write it in myself unless I'm not seeing it

pvenne@4frontsecurity.cmo
January 26, 2006 19:30
 

Weblog @ Rebex.cz :: Martin Vobr said:

Nové visualizéry pro Visual Studio - XML a HTML


Jedna z věcí, které se mi na VS.NET 2005 opravdu...
February 13, 2006 21:22
 

PuntoRete said:

February 21, 2006 13:11
 

PuntoRete said:

February 21, 2006 13:12
 

PuntoRete said:

February 21, 2006 13:43
 

Gilles' WebLog said:

Visual Studio 2005 added support for Debugger Visualizers. With debugger visualizers, developers can define...
March 20, 2006 20:03
 

rdoerrer said:

The download link seems to be broken. Will it be repaired?
March 29, 2006 12:35
 

howard.vanrooijen said:

I think the project distributor site is just down at the moment - try checking back again later on today. If you still have a problem contact me and I'll send you the zip.
March 29, 2006 12:40
 

Scott Hanselman's Computer Zen said:

August 29, 2006 08:51
 

Jomit's Blog said:

We all know that Visualizers are a great feature of Visual Studio 2005 debugger UI. It gives us a really

March 6, 2007 14:39
 

TrackBack said:

April 4, 2007 12:28
 

Michael Lund said:

What I really miss is a "live visualizer" so you can see how variable (in this case the xml) changes as you step through the code...
June 7, 2007 14:25
 

Graphic Apps said:

Like new features in latest release. Well-done!
August 22, 2007 09:03

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems