-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[wasm][debugger] Fixing assert while debugging. #58028
New issue
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
Conversation
|
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.
|
|
/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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comments can be addressed in a separate PR. LGTM!
|
ci hit #58062 |
When trying to evaluate DebuggerProxyAttribute of a generic type <T, K>, it was working only for one parameter .
Fixes #58021