Skip to content

Viewing a live preview of parse tree

bclothier edited this page Sep 10, 2019 · 4 revisions

Understanding the shape of the parse tree can be helpful in contributing to the rubberduck, especially when creating inspections, quickfixes or implementing a new command that deals with reading or modifying the VBA source code. Unfortunately there is no simple application nor a Visual Studio plugin that will allow you to view the tree live. It is possible to view the parse via the Locals windows but going through the nodes can be tedious and does not give you a high-level picture.

For that, we recommend using the ANTLR 4 Visualizer which is a Visual Studio debug visualizer and can be used in a debug session. Refer to its Installing section for instructions on how to install it and Usage section for using it.

Preview of ANTLR4 Visualizer

Clone this wiki locally