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
8
votes
0 answers

Multiline watch window display for XML data?

I'd like to be able to speed up my debugging by being able to view nicely-formatted XML in the VS2010 watch window, as opposed to having everything on a single line. If I open the XML Visualizer, I have to close it before I can continue execution. …
Dave
  • 14,618
  • 13
  • 91
  • 145
8
votes
2 answers

Debugging visualizer which targets DateTime doesn't transfer the value

I've written a Visual Studio debugging visualizer which targets DateTime (repo). My issue is that the debugger side only passes the target value to the debuggee side if the target expression is of object, not of DateTime (issue). I've published a GH…
Zev Spitz
  • 13,950
  • 6
  • 64
  • 136
8
votes
2 answers

How to use Visual Studio Text Visualizer for custom types?

In Visual Studio 2015 (and in some older versions) when debugging C# code it's possible to display the values of the string variables in various visualizers (Text, XML, HTML, JSON) via a drop-down list with a magnifying glass icon. This also works…
user98418468459
  • 215
  • 3
  • 8
8
votes
2 answers
8
votes
3 answers

User defined natvis files in Visual Studio 2012

I'm trying to use new debug visualizers in my project, but something happened to Visual Studio and it does not pick up my natvis files anymore. I tried copying them to %USERPROFILE%\My Documents\Visual Studio 2012\Visualizers as well as to \Program…
Max
  • 19,654
  • 13
  • 84
  • 122
8
votes
3 answers

Why Doesn't the Visual Studio 2010 Debugger See static const Class Members?

This question is closely related to a subsequently asked question here. The method of defining in-class constants is described here by Stroustrup. When I follow Stroustrup's method I see the expected results. However, in Visual Studio 2010, the…
7
votes
1 answer

get variable name in debugger visualizer

Is there a way to get the underlying variable name of a target object in a Visual Studio debugger visualizer? The built-in string visualizer does it: string myStr = "abc\ndef"; Debugger.Break(); Clicking on the visualizer icon for myStr, you will…
yoyoyoyosef
  • 7,000
  • 8
  • 40
  • 39
7
votes
2 answers

Debug Visualizer use member method / function call in preview?

Using Visual Studio 2010 with native C++. When editing autoexp.dat, is it possible to use the results of a method call in a debug visualizer preview? For example, if my class is Person how can I do something like: MyNamespace::Person{ preview( …
User
  • 62,498
  • 72
  • 186
  • 247
6
votes
1 answer

How to visualize the content of Graphics variable in Visual Studio 2010 during debug?

I am working on a rendering engine for my application and need to visualize the Graphics object during the debug session. I looked at Image Visualizers for VS2010, like this or this, but they visualize only the Image objects, whereas I need the…
Alexander Galkin
  • 12,086
  • 12
  • 63
  • 115
6
votes
3 answers

Debugging visually using >>, >, >|, ||, |<, <, <<

Debugging performance problems using a standard debugger is almost hopeless since the level of detail is too high. Other ways are using a profiler, but they seldom give me good information, especially when there is GUI and background threads…
David
  • 4,786
  • 11
  • 52
  • 80
6
votes
1 answer

Visual Studio 2017 not detecting visualizers in Documents directory

Visual Studio 2017 is not detecting the visualizer I added to the Documents directory (C:\Users\USERNAME\Documents\Visual Studio 2017\Visualizers). If I put it in C:\Program Files (x86)\Microsoft Visual…
geometrikal
  • 3,195
  • 2
  • 29
  • 40
6
votes
0 answers

What is correct pixel format in ImageWatch for YV12 and NV12?

There is a nice Visual Studio extension Image Watch. It can take an arbitrary address in RAM and show its contents as an image with @mem operator. @mem(address, type, channels, width, height, stride): interpret raw memory as pixels, starting at…
wl2776
  • 4,099
  • 4
  • 35
  • 77
6
votes
4 answers

Visual Studio is not loading my debugger visualizer

I wrote my own Debugger Visualizer. It, and the attributes, are in their own assembly. There is no references or attributes in the assembly containing the class to be debugged - I want to make a drop-in dll that is optional for people to use. The…
Tom Ritter
  • 99,986
  • 30
  • 138
  • 174
6
votes
2 answers

Which debug visualizers exists out there?

I know about this question: Which (third-party) debug visualizers for Visual Studio 2005/2008 do you use? But I don't want to know what debug visualizers you use, I want to know which debug visualizers are out there. I have only found Mole…
Stefan
  • 11,423
  • 8
  • 50
  • 75
6
votes
2 answers

Where can I find the natvis schema definition (for creating VC++ debugger visualizers)?

Various online sources tell me I can find it @ %VSINSTALLDIR%\Xml\Schemas\natvis.xsd. But I have not been able to find it in the said path. I have checked multiple VS2010 and VS2012 installations. Can anyone paste the schema definition here? Any…
1
2
3
11 12