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
51
votes
3 answers

How to specify order of debugger visualizers in Visual Studio

I've been working on a debugger visualizer for Visual Studio for some time and while the actual visualizer works fine. The problem is that it always places itself at the top of the visualizer list when examining a variable which really annoys some…
Karl-Johan Sjögren
  • 16,544
  • 7
  • 59
  • 68
36
votes
3 answers

How to keep Visual Studio debugger visualizers from timing out?

I've successfully made several Visual Studio debugger visualizers, and they're working very well, except that on some objects I get a time out error when I try to deserialize the object with objectProvider.GetObject() System.Exception: Function…
yoyoyoyosef
  • 7,000
  • 8
  • 40
  • 39
21
votes
5 answers

Spyder Debugger hangs (not debugging)

I updated to the latest version of Spyder (5.1.5) and my debugger hangs w/o response on the first line, no matter the code. Here are the dependency versions: Spyder 5.1.5 spyder-kernel 2.1.1 Python 3.9.7 IPython 7.31.1 I remember having this…
Devin
  • 341
  • 1
  • 3
  • 6
20
votes
2 answers

Can the Visual Studio Debugger display strings unquoted/unescaped?

The managed debugger in Visual Studio (I am using 11.0) displays string values containing double quotes and backslashes like this: "{\"Text\":\"C:\\\\Temp\"}" Occasionally I would like to display an escaped text like the above one in its plain…
CodeFox
  • 3,321
  • 1
  • 29
  • 41
19
votes
5 answers

Visual Studio: JSON visualizer when debugging

When debugging in Visual Studio 2010 and hovering over a variable name, I'm given the option to use 3 different built-in visualizers: Text, XML, & HTML. Here is an example of what I'm referring to: Since I'm doing more and more work with JSON…
Dan Esparza
  • 28,047
  • 29
  • 99
  • 127
16
votes
3 answers

Debugger Visualizer to generate Object Initializer code

We have a bug to fix, and like any good TDD practitioner, I want to write a failing test to represent the bug first. The bug is in a method that takes a rather complex type as input. The bug will only reproduce when the complex type has a certain…
15
votes
1 answer

How can I increase the size of the string that an external debugger visualizer can display?

I am once again writing an external debugger visualizer, and am running into a wall. There appears to be a limit to the size of the string that the debugger visualizer can return. The TStrings debugger visualizer that shipped with Delphi 2010 had a…
Cary Jensen
  • 3,751
  • 3
  • 32
  • 55
15
votes
3 answers

Visual C++ debugger visualizer?

How does Visual Studio show the elements of a vector, or the characters of a string, in C++? Is there a way for me to make it show my own classes in a custom way?
user541686
  • 205,094
  • 128
  • 528
  • 886
15
votes
3 answers

Visual Studio 2015 DataTable/DataSet Visualizer crashes IDE

Whenever I try to open the DataTable or DataSet Visualizer it crashes the IDE. I tried the various command-line switches to reset everything, started in /SafeMode and undertook a repair of VS. Nothing has helped so far. As far as I can tell it's…
13
votes
3 answers

Disable the debugger statement through the browser

I am trying to style a piece of code that has the debugger keyword in it. I am using the debugging window(IE, FF, Opera) to see CSS style effects but the debugger is stopping every time I refresh the page(as it should). Can I toggle or disable the…
12
votes
4 answers

Is there an easy way to make `boost::ptr_vector` more debugger friendly in Visual Studio?

I'm considering using boost::ptr_container as a result of the responses from this question. My biggest problem with the library is that I cannot view the contents of the collection in the debugger, because the MSVC debugger doesn't recognize it, and…
11
votes
1 answer

Can't view Dictionary contents in Visual Studio debugger

I have a System.Collections.Generic.Dictionary object in my code and am trying to view its contents while stopped at a breakpoint in the Visual Studio debugger. The Dictionary class in .NET of course contains a list of keys and values. If I…
Buggieboy
  • 4,636
  • 4
  • 55
  • 79
11
votes
1 answer

Which class is used for "Text Visualizer"?

When I use DebuggerVisualizer attribute as follows c# [assembly: DebuggerVisualizer(typeof(DataSetVisualizer), typeof(DataSetVisualizerSource), Target = typeof(DataTable), Description = "My DataTable Visualizer")] vb.net
IvanH
  • 5,039
  • 14
  • 60
  • 81
10
votes
1 answer

Debugger Visualizer and "Type is not marked as serializable"

I am trying to create a debugger visualizer that would show control hierarchy for any Control. It's done but I'm getting the exception "Type is not marked as serializable". How do I overcome that? Control is a .NET Windows Forms framework type, I…
Andrey
  • 20,487
  • 26
  • 108
  • 176
9
votes
3 answers

Using extension methods in [DebuggerDisplay] Attribute

The Attribute [DebuggerDisplay] (Using DebuggerDisplayAttribute) allows to define the display in the Debugger of VS 2010/2008. By modifying AutoExp.cs/.dll, I can even override the display of system types and 3rd party types, e.g. [assembly:…
1
2 3
11 12