Closed
Description
Commit(s) to merge
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/348186, https://dart-review.googlesource.com/c/sdk/+/348205
Issue Description
The new DAP used in communication during web debugging is calling previously unused APIs to show the values of getters in the debugger. This caused expression evaluation errors when trying to show .runtimeType
.
What is the fix
Update how runtime type objects are labeled and queried to avoid errors when they are displayed in developer tools.
Why cherry-pick
The dart debugger and vscode were triggering errors for every variable in scope by automatically trying to show the .runtimeType
getter. These changes fix those errors.
Risk
low
Issue link(s)
#54694, dart-lang/webdev#2343, dart-lang/webdev#2351
Extra Info
No response