Project Description

This project is a "visualizer" that displays the expression tree nodes and node attributes. only important attributes are selected to be appended to the visualization tree in order to keep it simple and useful.

Installation

According to the msdn "How to: Install a Visualizer" you should follow these steps:

  1. Download the visualizer DLL that is available as recommended downloads of this project.

  2. Copy the DLL to either of the following locations:

    • InstallPath\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\Visualizers

    • My Documents\Visual Studio 2010\Visualizers

  3. If you want to use the visualizer for remote debugging, copy the DLL to the same path on the remote computer.

  4. Restart the Visual Studio debugging session.

About Source Code

There are two projects in "ExpressionTreeVisualizer" solution:

ExpressionTreeViewer: this project contains expression tree visualizer. To understand the visualizer you can take a look on "Walkthrough: Writing a Visualizer in C#" on msdn. the "ExpressionTreeBuilder.cs" is the main part of the visualizer, this class parses expression tree and creates and formats the visualization tree nodes.

TestApp: is a console application to run the visualizer out of debugging environment for testing.

Last edited Jun 4, 2012 at 1:50 PM by HNickmehr, version 9