Skip to content

[wasm][debugger] Not able to evaluate a static member in a nested class #61462

@ilonatommy

Description

@ilonatommy

Description

Follow-up issue for 61147.

Reproduction Steps

Create a class in Blazor app:

public static class Foo
{
    public static class Bar
    {
        public static class Abc
        {
            public static int val1 = 10;
        }
    }
}

Add Foo.Bar.Abc.val1 to watch.

Expected behavior

Should return 10 as the value.

Actual behavior

Exception of type 'Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.ProtocolException' was thrown. (Unable to evaluate)

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions