WPF Performance and .NET Framework Client Profile

WPF performance and .NET Framework Client Profile related blogs provided by Jossef Goldberg.

WPF Visualizer in Visual Studio 2010

WPF Visualizer in Visual Studio 2010

  • Comments 4

Not sure if folks are aware, but Visual Studio 2010 now includes WPF Visualizer. This can really help you during debugging.
It basically allows you to explore and visualize the Visual Tree and properties of a WPF object during a debug sessions. Similar to what Mole was doing, but this is now built-in to Visual Studio 2010.

To use:
During debug, in a DataTip, Watch window, Autos window, or Locals window, next to a WPF object name, click the arrow adjacent to the magnifying glass icon.
See images below for the SDK example I used:

image

image

Leave a Comment
  • Please add 5 and 2 and type the answer here:
  • Post
  • Awesome tip. I completely didn't know about this :-) Dev10 is just the best IDE I've used to date.

  • Sadly, this does not work for C++/CLI code :(

  • Sadly, this does not work for C++/CLI code :(

  • @jschroedl - I'm surprised you would even bring C++/CLI up!  C++/CLI is the language that Microsoft would like everyone to forget about.  It is the red-headed step-child of programming languages.  Nevermind that it is the only language that allows you to easily integrate technologies like WPF into existing native C++ codebases.  But, really, how much native C++ code is around anymore, really?  Everybody is rewriting all their native C++ code into C# so that it can be slower but more fashionable!

Page 1 of 1 (4 items)