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

  • Home
  • SEARCH
  • 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 6908819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:36:39+00:00 2026-05-27T08:36:39+00:00

When debugging in VisualStudio… When hovering the mouse over an array of custom class

  • 0

When debugging in VisualStudio…

When hovering the mouse over an array of custom class types and it lists the array by showing the full namespace path to the type for each array item, which is worthless.

I’m pretty sure I’ve seen an attribute you can put at the top of the class definition that will then show that property value instead. Can anyone point me in the right direction?

  • 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-27T08:36:40+00:00Added an answer on May 27, 2026 at 8:36 am

    If you have an array of SomeType, you want to put the DebuggerDisplayAttribute on the SomeType class declaration.

    [DebuggerDisplay("X={X}, Y={Y}, Count={Count}")]
    public class SomeType { ... }
    

    Then when you hover over a variable of type SomeType[], and expand the tooltip to see the elements, each one will show up as something like X=1, Y=13, Count=142.

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

Sidebar

Related Questions

I am using a VisualStudio for developing and debugging my html. But, when i
I have a problem debugging an NUnit test from VisualStudio. I created an empty
Im having real problems using Resharper-6 with VisualStudio-2008, specuially during debugging, as soon as
When debugging in Visual Studio 2008 I get the error There is no source
When debugging in Visual Studio and you want to step into a procedure for
When debugging JavaScript in Visual Studio 2008 and I use the ? command in
i get this dialog while debugging code in visual studio 2008. (your step-into request
One thing that annoys me when debugging programs in Visual Studio (2005 in my
Debugging asp.net websites/web projects in visual studio.net 2005 with Firefox is loads slower than
When debugging an application in Visual Studio, there are 2 options for breaking on

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.