Static fields evaluation works only in an instance method. Otherwise, we have to address the field with the fill namespace. It should not be required as the field belongs to locals.
Reproduction steps:
in interface IDefaultInterface in src\mono\wasm\debugger\tests\debugger-test\debugger-test.cs we have a static field: defaultInterfaceMember. Its visibility in interface's method is tested in EvaluateLocalsInDefaultInterfaceMethodStatic.
Current behavior:
When we useEvaluateOnCallFrameAndCheck with defaultInterfaceMember as evaluated value inside of interface's method, it fails. We would need to pass the full name: IDefaultInterface.defaultInterfaceMember to get the right value. In this location we should have access to the static fields without referencing to it with a full name.
Expected behavior:
EvaluateOnCallFrameAndCheck with defaultInterfaceMember passed (without interface name) should result in "defaultInterfaceMember".