Uh oh!
There was an error while loading. Please reload this page.
[wasm][debugger] Fixing assert while debugging. - #58028
Conversation
ghost
commented
Aug 24, 2021
Tagging subscribers to this area: @thaystg Issue DetailsWhen trying to evaluate DebuggerProxyAttribute of a generic type <T, K>, it was working only for one parameter . TODO: Add a test case.
|
thaystg
commented
Aug 24, 2021
/backport to release/6.0-rc1 |
Started backporting to release/6.0-rc1: https://github.com/dotnet/runtime/actions/runs/1163344818 |
| var genericTypeId = await GetTypeByName(sessionId, typeToSearch, token); | ||
| if (genericTypeId < 0) | ||
| return null; | ||
| methodId = await GetMethodIdByName(sessionId, genericTypeId, ".ctor", token); |
There was a problem hiding this comment.
Won't this fail to find the correct .ctor, if there is more than one on the type?
Also, DebuggerTypeProxy accepts a string arg with the type name. That doesn't have to be in this PR though.
radical
left a comment
There was a problem hiding this comment.
My comments can be addressed in a separate PR. LGTM!
lewing
commented
Aug 24, 2021
ci hit #58062 |
When trying to evaluate DebuggerProxyAttribute of a generic type <T, K>, it was working only for one parameter .
Fixes#58021