dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.06k stars 1.55k forks source link

[Wildcard Variables] VM Debugging Support #55765

Closed kallentu closed 3 weeks ago

kallentu commented 3 months ago

This issue tracks any work required for wildcard variables in the VM debugger.

References

Correct - I think the nuance here is that in the code we emit in JavaScript we need to introduce a placeholder name to generate a valid function signature.

While our intent was to eventually make dwds model all of its state based on what we know from the dart program, there were cases in the past where it created its internal model based on the Chrome debugger's state of the application. If that is still the case today, we may need to do some work to ensure those synthetic variables are properly ignored/hidden.

Originally posted by @sigmundch in #55751

cc. @bkonyi

a-siva commented 2 months ago

One potential work item that came up from our discussion with the CFE team this afternoon