debuggervisualizer

Debug visualizer - the visualizer dll can't be loaded

Hi, I am learning to write a debug visualizer in vs2008 C#. But keep getting the error saying that MyDebugVisualizer dll can't be loaded when I am in debug mode and click the magnifying glass icon. My app project is referencing the visualizer project. Before the type definition I have: [DebuggerVisualizer(typeof(MyVisualizer))] [Seria...

Debugger Visualizer not working? Have i incorrectly registered it?

Hi folks, 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 byte[] one (BinaryDataDV). What my visualizer does is display the binary data as ...

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 evaluation timed out. at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.Private...

Does anyone have a Control Visualizer for VS 2005

Hello Friends I am looking for the source and download of the Control Visualizer which is developed by Brett Johnson, but i am unable to find any links related for downloading the Visualizer and also unable to find any source code for the same. I am using VS 2005, are there any links for or any other material related to this control vi...

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 see the "Expression" text box shows "myStr". How can I get this in my own visualizers? ...

How to create a Visual-Studio string visualizer?

I was trying to create a visualizer for IDictionary or ICollection Then like the simple visualizer (without dialog; I mean the ususal string visualizer that appears when hovering the variable, see image below), I want to make my custom text, I want to cast the collection to its type's list (I.E. StringCollection to List(Of String) or Li...

Does anyone know of a free ANTLR v3 AST debugger visualizer for VS2008?

Dear ladies and sirs. The title says it all. Thanks. ...

How do I install a Debugger Visualizer?

I'm trying to use Mole for Visual Studio but it's not loading. I've had this issue before with other visualizers so I'm probably missing something obvious. I just copied the DLL (Mole.Visualizer.dll) into the following folder and restarted VS2K8: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers ...

Are there any MVC Visualizers out there?

Are there any debug visualizers for Visual Studio for MVC? Would be great to be able to visualize things like ModelState, ViewState, Routes etc. If you're interested in this just favorite the question. If it gets a lot of favorites I'll think about writing one ...

Is it possible to disable both debugger visualization and ToString() invocation in all the debugger views of VS2008?

Dear ladies and sirs. My project depends on a 3rd party assembly which defines debugger visualizers for some of its types. Usually this is totally fine, but some types have lazy logic, which becomes eager once the data is observed in the debugger. And when I wish to explore the lazy behavior all this visualizers completely screw it. I ...

How-to implement a custom debugger visualiser in VS2008 on an array using a WeakReference?

I would like to implement a custom debugger visualiser in vs2008 for a typical array as the standard one does not display the data as I would like it. However Visual Studio prevents doing this for arrays for security reasons. I seem to remember though reading about using a WeakReference as a wrapper object to get around this limitation....

"Replay" the steps needed to recreate an error

I am going to create a typical business application that will be used by a few hundred consultants. Normally, the consultants would be presented with an error message with a standard text. As the application will be a complicated one with lots of changes being made to it constantly I would like the following: When an error message is pr...

Debugger Visualizer, ElementHost, and Edit and Continue problems

I recently wrote a custom Debugger Visualizer for Visual Studio 2008 for one of the custom types in my application. The UI for the visualizer is written in WPF and is hosted in an element host and shown using the IDialogVisualizerService windowService object. Everything works great, and my visualizer loads and shows the relevant inform...

Is there a Visual Studio debugger visualizer for the ASP.NET Session?

If so; where can I get it? ...

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 can't mark it as serializable. ...

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 Visualizers for .NET's types as Bitmap, Image, arrays, etc, I wouldn't like to put in VS' fo...

RichText Debugger Visualizer Gone wrong

Since I do a lot of debugging with Rich Text manipulations, I decided to write a simple "RTF Debugger Visualizer" which looks like this #region Namespaces using System; using System.Diagnostics; using System.Drawing; using System.Windows.Forms; using Microsoft.VisualStudio.DebuggerVisualizers; using RtfVisualizer; #endregion [assembly...

Mole for VS 2010?

Does anyone know about Karl Shifflett's Mole for VS 2010? ...

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 class I am trying to debug is a generic. [Serializable] public class FinCellTable<S> :...

How to correct deserialization errors in a DataTable Visualizer.

I am writing a Debugger Visualizer for a DataTable to display the datatable as xml instead of in a grid. I am getting an error on the line: DataTable dt = (DataTable)objectProvider.GetObject(); The exception is "Exception has been thrown by the target of an invocation." with an Inner Exception of "Failed to enable constraints. One ...