Skip to content

WASM Debugging: Problem with inherited class in QuickWatch while debugging in Blazor pages. #41406

Description

@KevinValmo

There is an issue when i'm trying to QuickWatch an instance of an Object inherited by other class (even if i hover with mouse).
I'm working with Blazor Wasm.

Here there are some image.

Here I am watching an object named a of Type HubLed that inherit from BaseHubComponent
image

Here there is a partial class HubLed where we can notice that we can access the public property ConnectionId
image

Here there is the Razor page in where i specify the inheritance.
image

Here we can see some property in BaseHubComponent
image

We can notice that property BaseHubComponent.ConnectionId is public, and i can access this property from our class HubLed but in debug mode i can not see it.

So the property inherited can't be seen in debug mode.

However, i'm sorry for my english...

Hope there is necessary infos.

Infos

(_public abstract_) **BaseComponent**.cs : ComponentBase
(_public abstract_) _BaseHubComponent_.cs : **BaseComponent**
(_public partial_) HubLed.razor : _BaseHubComponent_
(_public partial_) HubLed.razor.cs

Further technical details

  • Target Framework: .NET standard 2.1 for Blazor project.
  • The IDE is Visual Studio 16.8.0 Preview 1 (but i see this issue in previuos versions)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions