microsoft / microsoft/ConcordExtensibilitySamples

IEnumerable Visualizer shows properties that are marked with attribute to hide them in the debugger

Open
#108 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
135
Forks
54
Avg merge
5h 58m
Merged PRs (30d)
3

Description

We have added IEnumerable Visualizer support for some of our own collection types.
One of these collections contains values of an internal type (like the COMVariant Type) and we have marked several properties that are for internal use with [DebuggerBrowsable(DebuggerBrowsableState.Never)].
The IEnumerable Visualizer still shows these properties.
We have also tried to work around this by adding a DebuggerProxy for that type, but the Visualizer ignores that.
Is there a way to control which fields and properties are shown by the IEnumerable Visualizer ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating the IEnumerable Visualizer support for the collection types described in the issue, then compare its handling of DebuggerBrowsable(DebuggerBrowsableState.Never) with DebuggerProxy behavior. Done means establishing whether fields and properties can be controlled and documenting or implementing the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.