Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6642167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:53:54+00:00 2026-05-25T23:53:54+00:00

When debugging there are various Variable windows (autos, locals, watch) containing columns Name,Value,Type. The

  • 0

When debugging there are various Variable windows (autos, locals, watch) containing columns Name,Value,Type.
The value often seems to show an object’s class name. In specific cases I would like to show something more meaningful based on the properties of the class instance.

As a specific example, for CodeTypeReference I’d like to see a text representation of the type referenced (where valid) based on the BaseType string or ArrayElementType value, rather than seeing “System.CodeDom.CodeTypeReferenceExpression”.

Visualizers seem to offer separate dialog windows, rather than a way to populate the value column.

Data tips are per variable rather than per type.

The closest thing seems to be the DebuggerTypeProxyAttribute in which case I guess I’m asking “Is it possible to apply an attribute to somebody else’s class ?”

I’m mainly dealing with Visual Studio 2010 although a Visual Studio 2008 answer would be useful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:53:55+00:00Added an answer on May 25, 2026 at 11:53 pm

    Yes, there are two ways you can accomplish this:

    1. By using OzCode (previously BugAid for Visual Studio), a commercial tool that I created, you can simply star properties/fields on your type, and have those appear in the Value column on any type, whether it is 3rd party or not.

    2. You can change your autoexp.cs file, and apply either the DebuggerDisplayAttribute or the DebuggerTypeProxyAttribute to 3rd party types, as described in my answer on a similar question. For example, this is how you would apply the DebuggerDisplayAttribute to System.Drawing.Pen: [assembly: DebuggerDisplay(@"\{Color = {color}}", Target = typeof(Pen))]

    This answer applies to both VS2008 and VS2010.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any debugging options built-in in the Xlib (libX11.so)? Can I get list
Is there a good debugging tutorial for VS 2008 (C#, more precisely)? I have
There I was happily debugging my code, when I did a restart, and even
Are there any tips to speed up debugging in Codegear? For example, when I
There are many ways of doing debugging, using a debugger is one, but the
Is there a decent IDE-like tool for writing and debugging PL/pgSQL functions, e.g. for
Is there any tools or utilities to help in debugging ASP.NET MVC Routing issues?
Debugging a PHP program, is there any add-on/plug-in for browser which I can view
Is there any way to add any sort of debugging to a Lego Mindstorms
Is there any way to find all references to an object while debugging?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.