Questions tagged [debuggervisualizer]

Visualizers are components of the IDE debugger user interface that displays a variable or object in a manner that is appropriate to its data type.

Visualizers are components of the IDE debugger user interface. A visualizer creates a dialog box or another interface to display a variable or object in a manner that is appropriate to its data type. For example, an HTML visualizer interprets an HTML string and displays the result as it would appear in a browser window; a bitmap visualizer interprets a bitmap structure and displays the graphic it represents.

168 questions
4
votes
1 answer

Using Debugger Visualizers in Visual Studio without having to copy its dll assembly to VS's folder

I know it is possible to create Debugger Visualizers since Visual Studio 2005. Now, what I'd like to know is if it is possible to use our Debugger Visualizers without having to put them in Visual Studio's folder. Although it is useful to have…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
4
votes
0 answers

Visual Studio natvis and incomplete types

I'm writing a natvis file for a project where some structs are defined "privately", that is to say in .c code files rather than headers. When I'm debugging the module within which the structs are defined the debugger picks them up, but when dealing…
4
votes
0 answers

How to visualize data while debugging?

I need to check some visual aspects of my application, say, that some shape is correct. Eclipse does not have an ability to watch other than toString(). So, I need to go back to old good debug hooks. So, I wrote a standalone class, which displays…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
4
votes
1 answer

DialogDebuggerVisualizer: COMException: Object is in a zombie state

On the first time in a debugging session that I try to show the visualizer, it raises that exception (appears at the bottom), I click "Continue" on the exception message dialog and show again the visualizer (by clicking on the "magnifying glass icon…
Tar
  • 8,529
  • 9
  • 56
  • 127
4
votes
1 answer

How do I use my own debugger visualiser to edit variables runtime?

I'm writing my own debugger visualiser. All works great to show up to visualiser with the data. Now I add the code for more clearness: public class MyVisualiserObjectSource : VisualizerObjectSource { public override void GetData(object target,…
CodeTherapist
  • 2,776
  • 14
  • 24
4
votes
2 answers

How do I write a very simple Visual Studio debugger visualizer?

I'm trying to write an 'autoexp.dat'-based visualizer for a string type. I've scaled-back my ambitions to attempting to write a visualizer for a really simple test type that contains a null-terminated string field: namespace thizz { namespace izz { …
mackenir
  • 10,801
  • 16
  • 68
  • 100
3
votes
1 answer

Is there a Visual Studio debug visualizer for a stream or byte array containing protobuf payload?

Does anybody knows of a VS debug visualizer for the protobuf content?
mark
  • 59,016
  • 79
  • 296
  • 580
3
votes
1 answer

In Visual Studio 2019 C++, how can I expand a dynamically allocated array so that all of its elements are displayed?

I've written a simple (and potentially bad) implementation for a vector class, similar to std::vector. Here is the class: template class Vector { T* data; int size; public: Vector(int = 0); ~Vector(); Vector(const…
3
votes
0 answers

Visual Studio NatvisFile add leading zeros to DisplayString

I want to adjust my Visualizer in Visual Studio 2017 via the Nativis file. There is an own class date, which should be displayed more nicely in the debugger. "{1900 + ts.tm_year}-{1 +…
Bowers
  • 836
  • 8
  • 20
3
votes
3 answers

visualize c++ data structure

I am looking for a program to help me debug a tree in c++. My tree has thousands of nodes and I want to view the tree as it forms and view problem nodes and branches. Operating system doesn't matter. Anyone know of a program that can do this?
romejoe
  • 423
  • 1
  • 5
  • 16
3
votes
4 answers

What DebuggerVisualizers are already existing within VisualStudio or .Net Framework?

A quite dumb question but i simply can't find the answer. I have a self-written class that implements the IList interface. Now i like to see the containing elements within Debugging like i would with any .Net List. To get this to work i think…
Oliver
  • 43,366
  • 8
  • 94
  • 151
3
votes
0 answers

Which types prevent Visual Studio visualizers showing?

I have found that certain types when present in DebuggerVisualizerAttribute prevent showing all visualizers. Not only the one in which they are present but all with exception of the most generic ones (Text, XML, JSON, HTML). Even the DataTable…
IvanH
  • 5,039
  • 14
  • 60
  • 81
3
votes
2 answers

Debugger Visualizer [Visual Studio 2010] - System.Linq.Expressions.Expression - not showing magnifying glass

I have been trying to build a debugger visualizer for a linq Expression. I know one exists already, but I would like to create my own and add additional functionality. I made this quick prototype. The magnifying glass will not show up; however, if…
BSick7
  • 575
  • 4
  • 13
3
votes
1 answer

How to augment the Visual Studio C# editor with non-textual information?

I've come across cases where the Visual Studio C# editor displays extra UI and/or data: The debugger breakpoints configuration introduced in VS 2015 - see here. Ozcode, which augments the editor with debug-time values. I'd like to do something…
bright
  • 4,700
  • 1
  • 34
  • 59
3
votes
2 answers

Debugger Visualizer not working? Have i incorrectly registered it?

I have created a debugger visualizer in VS2008. There are two classes i've made, in the same .dll :- BinaryDataDebuggerVisualizer ImageDebuggerVisualizer The image one works fine (eg. the magnify glass appears in debug mode) but not for the…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647