GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zspitz/ExpressionTreeVisualizer: Debugging visualizer for expression trees

BranchesTags
Open more actions menu

Latest commit

 

History

459 Commits
459 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
Debuggee
Debuggee
 
 
Package
Package
 
 
Serialization
Serialization
 
 
Tests.Visualizer
Tests.Visualizer
 
 
UI
UI
 
 
Visualizer
Visualizer
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
ExpressionTreeVisualizer.sln
ExpressionTreeVisualizer.sln
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
appveyor.yml
appveyor.yml
 
 
formatter-switch.gif
formatter-switch.gif
 
 
screenshot-01.png
screenshot-01.png
 
 
sync-from-code.gif
sync-from-code.gif
 
 
sync-from-endnodes.gif
sync-from-endnodes.gif
 
 
sync-from-tree.gif
sync-from-tree.gif
 
 

Repository files navigation

Expression Tree Visualizer

AppVeyor build status Tests GitHub Release NuGet status of UI components package

This project provides a custom debugging visualizer for expression trees, that can be used while debugging with Visual Studio (on Windows). The UI contains:

  1. a graphical treeview of the expression tree structure,
  2. source code representation of the tree, and
  3. end nodes -- nodes in the tree which are not composed of other expressions: parameters, closure variables, constants and default values

Screenshot

There are multiple renderers available:

Language switch

Selection syncing:

  • when selecting from the tree:

    Selection sync from tree

  • from source code:

    Selection sync from source code

  • and from end nodes:

    Selection sync from end nodes

For more information, see the wiki.

The UI components are also available as a NuGet package (targeting .NET Core 3.1 / .NET Framework 4.7.2), which you can use in your own projects (demo available here).

Requirements / Supports

The visualizer been tested with VS 2019 and VS 2017; theoretically the 2017 version should work with previous versions of VS.

It supports .NET Core, ,NET Framework, and any .NET Standard 2.0 implementation. (Note that .NET Framework < 4.7 may have issues in VS 2017.)

Installation

From the project's Releases page, download the ZIP file corresponding to your Visual Studio version (2019 or 2017). Then:

  1. Unblock the ZIP file.
  2. Extract the files to the visualizers folder, preserving the required folder structure.

Uninstallation

To delete the visualizer:

  1. Navigate to the visualizer location. This can be done by clicking on the About link, and then clicking on the ExpressionTreeVisualizer.dll link.
  2. Delete all files and folders whose name starts with ExpressionTreeVisualizer. You can find these by typing name:ExpressionTreeVisualizer in the Windows search box.

Contributing / Feedback

  • Test the visualizer. (The significance of this kind of contribution cannot be overestimated.)
  • Suggest ideas and enhancements (via issues)
  • Notify about bugs (via issues)
  • Provide screenshots demonstrating different features of the visualizer (via issues), to be included in the README or wiki pages
  • Star the project
  • Spread the word
  • Provide feedback to Microsoft about these limitations to the visualizer API

Credits

  • John M. Wright's series on writing debugger visualizers
  • Multiple-selection treeview is provided by MultiSelectTreeView
  • ReadableExpressions for inspiration
  • Greenshot and ScreenToGIF for the screenshots

About

Debugging visualizer for expression trees

Topics

csharpdebugging-visualizerexpression-treevisual-basicvisualizer

Resources

Readme
MIT license
Activity

Stars

359 stars

Watchers

8 watching

Forks

25 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.