sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[Wildcard Variables] VM Debugging Support

Open kallentu opened this issue 1 year ago • 1 comments

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

kallentu avatar May 17 '24 20:05 kallentu

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

  • wildcard locals would have to be filtered out when sending information about local variables to the client as part of the vm service reply

a-siva avatar Jun 24 '24 21:06 a-siva