Skip to content

[wasm][debugger] Display parent's members on getProperties #68542

Closed

Description

@ilonatommy

Current behavior:
Check out InspectTypeInheritedMembers for DerivedClass. this_props has only its own members:

  • one Base_AutoStringPropertyForOverrideWithField when it should have two: its own and from BaseClass,
  • one Base_GetterForOverrideWithField when it should have two: its own and from BaseClass,
  • one BaseBase_MemberForOverride when it should have three: its own, from BaseClass and from BaseBaseClass.

Expected behavior:
image

Activity

  1. ghost added
    untriaged
    on Apr 26, 2022
  2. removed
    untriaged
    on Apr 26, 2022
  3. added this to the 7.0.0 milestone on Apr 29, 2022
  4. ghost added
    in-pr
    on May 5, 2022
  5. radical commented on May 5, 2022

    @radical
    Member

    Is this showing parent members that were overridden, or hidden? Does VS have the same behavior for non-wasm projects?

  6. radical commented on May 5, 2022

    @radical
    Member

    I remember being deliberate about not doing that.

  7. ilonatommy commented on May 6, 2022

    @ilonatommy
    MemberAuthor

    Is this showing parent members that were overridden, or hidden? Does VS have the same behavior for non-wasm projects?

    Expected behavior (screenshot) is based on Console App project's behavior for InspectTypeInheritedMembers test. If a virtual field was overwritten, then it's shown only once (of the child).
    What do you mean by being deliberate about not doing that? Should the blazor app differ here from console app? What's the reason for it?

  8. radical commented on May 6, 2022

    @radical
    Member

    Ok, so looking at it, IIUC, the behavior is:

    1. If a member is overridden, then only show the overridden one
    2. If a member is new-hidden, then show the both the base, and the new one
  9. ghost removed
    in-pr
    on May 27, 2022
  10. ghost locked as resolved and limited conversation to collaborators on Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Debugger-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions