A VS Code extension for visualizing debug information.
This extension was initially created with support for Java only.
After installing the extension from VS Marketplace, execute the command VOOD: Open debugger view
to open a new view for the visualization. Then execute your code in debug mode and continue the program step-by-step
and see the visualization update in the debugger view.
Execute the command VOOD: Export as static image
to create a static image of the current state of the visualization.
To start recording a GIF, use the command VOOD: Start recording a GIF
. To end the recording, use the command
VOOD: Stop recording a GIF
. For quicker use, create a key-mapping for those commands. After ending the recording,
the footage will be converted into a GIF. This process might take some time, so we recommend keeping the recording
as long as necessary and as short as possible.
Execute the command VOOD: Export as PlantUML
to create a PlantUML file of the current state of the visualization
or click on the Visual Debugger
panel menu item Export as PlantUML
instead.
Execute the command VOOD: Export as GraphViz
to create a GraphViz file of the current state of the visualization
or click on the Visual Debugger
panel menu item Export as GraphViz
instead.
Use the buttons in the top left-hand corner of the view to load the previous or next state of the visualization. Note that this will only change the state of the visualization and is not a way to step back/forward in the debugger. Only states that have been visualized before may be loaded that way.
Only the states of the top stack frame are added to the history at each step.
Select a stack frame from the call stack in the dropdown at the top of the debugger view. The visualization will then update and visualize the variables of the selected stack frame.
Left-click on a node to collapse it along with its references to other nodes. Left-click on the cluster to expand it again. To expand all clusters at once, click on the 'Open all clusters' button in the upper right-hand corner of the view.
Drag and drop a node or cluster onto the eye icon in the upper right-hand corner of the view to hide it. All hidden nodes and clusters can be revealed by clicking on the eye icon.
By default, vis.js is used to visualize the debug information. The preferred view can be changed in the User/Workspace settings.
The colors of nodes can be changed in the User/Workspace settings. The colors of edges and text on nodes are derived from the selected node colors.