IVariable
object and how it is
presented in the Variables
view.IDebugContextProvider
)
in a given window. Typically the only debug context provider is Debug view. The
Variables view is a listener (IDebugContextListener
)
to changes in the Active Debug Context, and it updates itself whenever
this context changes.
Diagram illustrating relationship between Debug view, the Active Debug Context, and Variables view input.
IVariable
objects is
contained in the IStackFrame
object. The value of the variable is
represented by a separate IValue
object
contained by the variable. The value object can in turn contain
more variable objects, which are shown as children of the containing
variable.
Class diagram of IVariable object.
The Variables view is "lazy-loading" and it requests data from the
model only as needed. For example, after the initial list of
variable objects is retrieved from the stack frame, the value objects
are retrieved from the variables only for the variables that are
visible in the view. As user scrolls the view, additional values
are retrieved from the model.