You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
derekxu16 opened this issue
Sep 26, 2024
· 3 comments
Assignees
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.dds-dapDDS issues related to the Debug Adapter Protocol (DAP) implementation
The APIs for managing Service ID zones have been released in package:vm_service 14.3.0. These APIs can be used to free object IDs when they are no longer needed, to ensure that objects associated with those IDs are not retained for longer than necessary.
The text was updated successfully, but these errors were encountered:
derekxu16
added
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
dds-dap
DDS issues related to the Debug Adapter Protocol (DAP) implementation
labels
Sep 26, 2024
I'm hoping to look at this soon, I think it should be fairly straight-forward. The DAP spec says that variableReferences (which roughly map to the InstanceRefs we get from the VM) expire when execution resumes, so it should be fairly simple to manage the zone lifetimes around that.
I've a change in progress for this, but I want to do some additional manual testing with Dart+Flutter. I have a slight concern about race conditions (eg. we decide to invalidate a zone, but at the same time we start processing some event like a debugger pause where we might evaluate breakpoint conditions) and the tests don't tend to generate the same level of traffic as a real app.
(If someone is able to trigger the trybots in the meantime though, that would be appreciated!)
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.dds-dapDDS issues related to the Debug Adapter Protocol (DAP) implementation
The APIs for managing Service ID zones have been released in
package:vm_service 14.3.0
. These APIs can be used to free object IDs when they are no longer needed, to ensure that objects associated with those IDs are not retained for longer than necessary.The text was updated successfully, but these errors were encountered: