Relative Content

Tag Archive for c#wpfvisual-studiodebuggervisualizervssdk

A separate Debugger Visualizer window for each variable of the same type

I want to create my custom Debugger Visualizer for my type.
I am using Visual Studio 2022 and i create “VisualStudio.Extensibiliy Extention with VSSDK Compatibility” type project. I also create MyVisualizer.cs file and inherits from DebuggerVisualizerProvider class. Then i add to project my WPF MainUserControl.cs ( inherits from class UserControl) and MainUserControl.xaml. Then in function CreateVisualizerAsync of the MyVisualizer.cs file i write this:

A separate Debugger Visualizer window for each variable of the same type

I want to create my custom Debugger Visualizer for my type.
I am using Visual Studio 2022 and i create “VisualStudio.Extensibiliy Extention with VSSDK Compatibility” type project. I also create MyVisualizer.cs file and inherits from DebuggerVisualizerProvider class. Then i add to project my WPF MainUserControl.cs ( inherits from class UserControl) and MainUserControl.xaml. Then in function CreateVisualizerAsync of the MyVisualizer.cs file i write this: