Viewing the Visual Tree in the DebuggerI recently posted an article to CodeProject which discusses a debugger visualizer.  It allows you to view the visual tree while debugging, inspect every property of any element in the tree, as well as view a snapshot image of any element.  I call it Woodstock, because it's like a scaled down version of Snoop.  Here's the article, if you're interested: <a title="http://www.codeproject.com/useritems/WoodstockForWPF.asp" href="http://www.codeproject.com/useritems/WoodstockForWPF.asp">http://www.codeproject.com/useritems/WoodstockForWPF.asp</a> <font class=messagecontent><code><br></code></font>© 2009 Microsoft Corporation. All rights reserved.Thu, 12 Nov 2009 04:35:02 Zd9d6a18f-2016-473a-b82b-8a9bf9547503http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#d9d6a18f-2016-473a-b82b-8a9bf9547503http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#d9d6a18f-2016-473a-b82b-8a9bf9547503Josh Smithhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20SmithViewing the Visual Tree in the DebuggerI recently posted an article to CodeProject which discusses a debugger visualizer.  It allows you to view the visual tree while debugging, inspect every property of any element in the tree, as well as view a snapshot image of any element.  I call it Woodstock, because it's like a scaled down version of Snoop.  Here's the article, if you're interested: <a title="http://www.codeproject.com/useritems/WoodstockForWPF.asp" href="http://www.codeproject.com/useritems/WoodstockForWPF.asp">http://www.codeproject.com/useritems/WoodstockForWPF.asp</a> <font class=messagecontent><code><br></code></font>Tue, 13 Nov 2007 13:43:30 Z2007-11-13T13:43:30Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#7d035ee8-acfe-46a5-8e68-085050d4b4bahttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#7d035ee8-acfe-46a5-8e68-085050d4b4baMarlon Grechhttp://social.msdn.microsoft.com/Profile/en-US/?user=Marlon%20GrechViewing the Visual Tree in the Debugger<p>5 start to Josh... He did a wonderful job here!!!!!</p> <p align=left><font face=Arial size=2></font> </p>Tue, 13 Nov 2007 17:22:50 Z2007-11-13T17:22:50Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#5228a93e-7fe6-482d-8c1e-14abc97f40e4http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#5228a93e-7fe6-482d-8c1e-14abc97f40e4Josh Smithhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20SmithViewing the Visual Tree in the DebuggerThanks Marlon.  I appreciate that you voted 5 Stars for my article! <img src="http://forums.microsoft.com/MSDN/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFmac-VIm2t3F15sLUhe5iKuA0JNA_VrWx4LNOoZPN6Cc1&amp;t=633263991144971555"> <p align=left><font face=Arial size=2></font> </p>Tue, 13 Nov 2007 17:24:30 Z2007-11-13T17:24:30Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#b288e096-7a22-4d01-ac01-e47fdffcfdabhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#b288e096-7a22-4d01-ac01-e47fdffcfdabChango V. - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Chango%20V.%20-%20MSFTViewing the Visual Tree in the DebuggerAwesome tool! And it even works in an XBAP, which I believe Snoop can't do. (I suggest you make the security workaround more prominent in your article.) Thanks for your valuable contribution! <p align=left><font face=Arial size=2></font> </p>Sun, 18 Nov 2007 20:27:04 Z2007-11-18T20:27:04Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#d1dc9f4f-d79f-41f0-9f20-d167d779b67dhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#d1dc9f4f-d79f-41f0-9f20-d167d779b67dJosh Smithhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20SmithViewing the Visual Tree in the DebuggerI appreciate the positive feedback, Chango.  I've been working on Woodstock obsessively for the past week, and feel that it has finally matured enough to be a helpful and reliable tool.  I think you're right about bringing the security workaround into a more discoverable location in the article.  Good idea!  Thanks.<br>Sun, 18 Nov 2007 21:39:45 Z2007-11-18T21:39:45Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#2cb9c7cc-d27c-4eb8-a3df-5773e9ab4565http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#2cb9c7cc-d27c-4eb8-a3df-5773e9ab4565Tonkohttp://social.msdn.microsoft.com/Profile/en-US/?user=TonkoViewing the Visual Tree in the Debugger<p>Yep, it was only a few weeks ago that I was stopped at a breakpoint and wished that Snoop would work.</p> <p align=left>Thanks Josh for the rest of the us in the trenches!</p> <p align=left><font face=Arial size=2></font> </p>Mon, 19 Nov 2007 01:08:30 Z2007-11-19T01:08:30Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#1cca909e-ca0b-4874-bb48-7c0e84eba40bhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#1cca909e-ca0b-4874-bb48-7c0e84eba40bJosh Smithhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20SmithViewing the Visual Tree in the DebuggerTonko,<br><br>Don't thank me, thank all of the folks in the WPF community who kept encouraging me to improve Woodstock, with suggestions and bug reports. <img src="http://forums.microsoft.com/MSDN/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFdA4ESFRtesEUXj11MHjIL5WMBvm3Pubiu_iWcnqAaGQ1&amp;amp;t=633263991144971555"><br>Mon, 19 Nov 2007 01:14:35 Z2007-11-19T01:14:35Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#f3828141-4078-4c8f-b60f-0ff23826df90http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#f3828141-4078-4c8f-b60f-0ff23826df90kpisehttp://social.msdn.microsoft.com/Profile/en-US/?user=kpiseViewing the Visual Tree in the Debugger<p align=left><font face=Arial size=2></font> </p> <p>This tool is realy ultimate ....It helps us..</p> <p align=left> </p> <p align=left>Kishor</p>Thu, 22 Nov 2007 12:20:22 Z2007-11-22T12:20:22Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#430ff1f7-4de0-440c-bf34-c6d81341d696http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#430ff1f7-4de0-440c-bf34-c6d81341d696sunayssshttp://social.msdn.microsoft.com/Profile/en-US/?user=sunaysssViewing the Visual Tree in the Debugger<p dir=ltr style="margin-right:0px" align=left><font face=Arial size=2>i want some more information about this</font></p>Wed, 28 Nov 2007 11:47:40 Z2007-11-28T11:47:40Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#0bab9ef9-0a99-423d-93a5-caabb932078fhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#0bab9ef9-0a99-423d-93a5-caabb932078fsunayssshttp://social.msdn.microsoft.com/Profile/en-US/?user=sunaysssViewing the Visual Tree in the Debuggerseni information joie che <blockquote dir=ltr style="margin-right:0px"> <blockquote dir=ltr style="margin-right:0px"> <blockquote dir=ltr style="margin-right:0px"> <p align=left><font face=Arial size=2></font> </p></blockquote></blockquote></blockquote>Wed, 28 Nov 2007 11:51:00 Z2007-11-28T11:51:00Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#68d3c1e0-dd69-46b5-bc49-bcc1d96e13edhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#68d3c1e0-dd69-46b5-bc49-bcc1d96e13edKevinKerrhttp://social.msdn.microsoft.com/Profile/en-US/?user=KevinKerrViewing the Visual Tree in the Debugger<p>Since this thread is sticky, we should probably keep it updated with the latest releases, such as Mole v4 (a descendant of Woodstock). It is fantastic work by team Mole:</p> <p align=left> </p> <p align=left><a title="http://joshsmithonwpf.wordpress.com/" href="http://joshsmithonwpf.wordpress.com/">Josh Smith</a></p> <p align=left><a title="http://karlshifflett.wordpress.com/" href="http://karlshifflett.wordpress.com/">Karl Shifflett</a></p> <p align=left><a title="http://agsmith.wordpress.com/" href="http://agsmith.wordpress.com/">Andrew Smith</a></p> <p align=left> </p> <p align=left><a title="http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit.aspx" href="http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit.aspx">http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit.aspx</a></p> <p align=left><font face=Arial size=2></font> </p> <p align=left>This release allows developers to not only drill all around their Visual Studio applications to view their data, including private members, <strong>Mole now allows editing of these values!</strong></p>Mon, 07 Jan 2008 21:59:53 Z2008-01-07T21:59:53Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#f26a8540-a0b0-4bf6-9912-fb69d85d553chttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#f26a8540-a0b0-4bf6-9912-fb69d85d553cDathan Lhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dathan%20LViewing the Visual Tree in the Debugger<p align=left>Guys, this tool is great in terms of richness of features and pure power.  Awesome work!  </p> <p align=left> </p> <p align=left>I do get one issue repeatedly with Mole however: load time.  Visual Studio continually disables Mole on me because it is taking too long to initialize (we are working on a massive multi-app-domain WPF project, and I think Mole is spending a lot of time trying to load our structures and to initialize its beautiful UI).</p> <p> </p> <p align=left>Did a search and found a very thin and fast visualizer that I have installed beside Mole for analyzing trees really quickly or for analyzing large trees.  It's perfect for everything other than reproducing the visual or editing the values (I don't seem to use this features that often).  </p> <p align=left> </p> <p align=left>It's called DepO Visualizer and it's on Code Project here:</p> <p align=left> </p> <p align=left><a title="http://www.codeplex.com/dathanliblikdepo/" href="http://www.codeplex.com/dathanliblikdepo/">http://www.codeplex.com/dathanliblikdepo/</a></p> <p align=left> </p> <p align=left>With these two tools riding shotgun, I've been whistling through a lot of issues.  Thanks very much to both Mole and DepO!</p>Mon, 25 Feb 2008 14:40:47 Z2008-02-25T14:40:47Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#e3941916-8f5d-4e03-a64e-1b296bc68412http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#e3941916-8f5d-4e03-a64e-1b296bc68412alpernnhttp://social.msdn.microsoft.com/Profile/en-US/?user=alpernnViewing the Visual Tree in the Debugger<div style="text-align:left" dir=ltr>How do you explain that bit more, but I had to do something here<br/><br/><a title="AS KATLANIR CAM BALKON SİSTEMLERİ" href="http://www.ascambalkon.com">cam balkon</a></div>Wed, 13 May 2009 06:02:55 Z2009-05-13T06:02:55Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#46cb4863-6260-4f04-bccc-27ff27cd3945http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#46cb4863-6260-4f04-bccc-27ff27cd3945dayanandavthttp://social.msdn.microsoft.com/Profile/en-US/?user=dayanandavtViewing the Visual Tree in the DebuggerThis is what i m desperately looking for... ThanXWed, 15 Jul 2009 04:13:35 Z2009-07-15T04:13:35Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#afe406af-b40c-4e0f-975b-cfa7e1fda6achttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#afe406af-b40c-4e0f-975b-cfa7e1fda6acWhistler_Zouhttp://social.msdn.microsoft.com/Profile/en-US/?user=Whistler_ZouViewing the Visual Tree in the Debugger<p>thanks</p>Thu, 10 Sep 2009 01:11:58 Z2009-09-10T01:11:58Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#20d167d9-3f34-47ce-8d16-2566e0c09755http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#20d167d9-3f34-47ce-8d16-2566e0c09755dekhomehttp://social.msdn.microsoft.com/Profile/en-US/?user=dekhomeViewing the Visual Tree in the DebuggerThanks for the article.<hr class="sig"><a href="http://dekhomessl.blogspot.com/">My blog</a>Sat, 19 Sep 2009 05:28:18 Z2009-09-19T05:28:18Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#efb9d39b-ca8a-4532-9b6b-dda0404f0efchttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#efb9d39b-ca8a-4532-9b6b-dda0404f0efckeddy1http://social.msdn.microsoft.com/Profile/en-US/?user=keddy1Viewing the Visual Tree in the Debuggerthanks.very helpful.this is what I was looking for<br/><hr class="sig"><a href="http://www.speedypilot.com">faa practice test</a>Thu, 01 Oct 2009 13:55:26 Z2009-10-01T13:55:26Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#bc435d4f-54ce-4407-9ade-c1de2d70dcd3http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#bc435d4f-54ce-4407-9ade-c1de2d70dcd3RadhikaVemurahttp://social.msdn.microsoft.com/Profile/en-US/?user=RadhikaVemuraViewing the Visual Tree in the DebuggerHi josh,<br /><br />Its really very helpful. Thanks once again,<br /><br />Regds<br />RadhikaMon, 05 Oct 2009 16:14:34 Z2009-10-05T16:14:34Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#b99d355e-c50d-44c0-a23f-0c7c718b9f58http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d9d6a18f-2016-473a-b82b-8a9bf9547503#b99d355e-c50d-44c0-a23f-0c7c718b9f58nat0hhhttp://social.msdn.microsoft.com/Profile/en-US/?user=nat0hhViewing the Visual Tree in the DebuggerThanks this has really helped - cheers again Mole and DepO<hr class="sig"><a href=www.financialadvisor.co.uk>financial advisor</a> Tue, 27 Oct 2009 00:29:39 Z2009-10-27T00:29:39Z