Skip to content

Conversation

@thaystg
Copy link
Member

@thaystg thaystg commented Sep 16, 2022

We only should hide private members from types that are not UserCode when JMC is enabled.
I understood it wrongly when I implemented, fixing it now.

Fixes #75763

@thaystg thaystg requested a review from radical as a code owner September 16, 2022 21:38
@ghost ghost added the area-Debugger-mono label Sep 16, 2022
@ghost ghost assigned thaystg Sep 16, 2022
@ghost
Copy link

ghost commented Sep 16, 2022

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

We only should hide private members from types that are not UserCode when JMC is enabled.
I understood it wrongly when I implemented, fixing it now.

Fixes #75763

Author: thaystg
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

typeName,
getPropertiesParamBuffer,
getCommandType.HasFlag(GetObjectCommandOptions.ForDebuggerProxyAttribute),
getCommandType,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add GetObjectCommandOptions.AutoExpandable when passing this.

@radical
Copy link
Member

radical commented Sep 17, 2022

This applies to static members too, correct? Can we adjust any tests for that?

@radical
Copy link
Member

radical commented Sep 17, 2022

Would this work for derived classes shadowing private members in base classes?

@lewing lewing merged commit e818708 into dotnet:main Sep 19, 2022
@thaystg
Copy link
Member Author

thaystg commented Sep 19, 2022

/backport to release/7.0-rc2

@github-actions
Copy link
Contributor

Started backporting to release/7.0-rc2: https://github.com/dotnet/runtime/actions/runs/3082598820

@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web Assembly Blazor debug issue - Childeren could not be evulated

3 participants