We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
object
In MemberReferenceResolver.cs we are throwing
MemberReferenceResolver.cs
throw new InvalidOperationException($"Cannot apply indexing with [,] to an object of type '{type}'");
Remove it and fix it for e.g. testcase:
[Fact] public async Task EvaluateObjectIndexingMultidimensional() => await CheckInspectLocalsAtBreakpointSite( "DebuggerTests.EvaluateLocalsWithIndexingTests", "EvaluateLocals", 12, "DebuggerTests.EvaluateLocalsWithIndexingTests.EvaluateLocals", "window.setTimeout(function() { invoke_static_method ('[debugger-test] DebuggerTests.EvaluateLocalsWithIndexingTests:EvaluateLocals'); })", wait_for_event_fn: async (pause_location) => { var id = pause_location["callFrames"][0]["callFrameId"].Value<string>(); await EvaluateOnCallFrameAndCheck(id, ("f[\'a\', \'&\']", TString("a-&")) ); });
public class TestEvaluate { public string this[char key1, char key2] => $"{key1}-{key2}"; }
and similar. Make sure that not only numeric indexes are supported but other schemes (as above: char) as well.
The text was updated successfully, but these errors were encountered:
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
arch-wasm, area-Debugger-mono
arch-wasm
area-Debugger-mono
Sorry, something went wrong.
ilonatommy
Successfully merging a pull request may close this issue.
In
MemberReferenceResolver.cs
we are throwingRemove it and fix it for e.g. testcase:
and similar. Make sure that not only numeric indexes are supported but other schemes (as above: char) as well.
The text was updated successfully, but these errors were encountered: