[VM Service Protocol] Support lazily computing bound variables for frames #43827
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
P3
A lower priority bug or feature request
pkg-vm-service
triaged
Issue has been triaged by sub team
The VM Service protocol requires all bound variables to be computed for a frame. Each bound variable, for web debugging, potentially requires an evaluation in Chrome to compute which introduces latency. However, VS Code supports lazily displaying bound variables when a user selects a given frame in the stack. We should modify the VM Service protocol to support this lazy computation. We can either introduce a new call like boundVariablesFor(Frame) or introduce the concept of a boundVariableRef.
The text was updated successfully, but these errors were encountered: