Class: DAP::Variable

Inherits:
Base
  • Object
show all
Defined in:
lib/dap/variable.rb

Overview

A Variable is a name/value pair. Optionally a variable can have a ‘type’ that is shown if space permits or when hovering over the variable’s name. An optional ‘kind’ is used to render additional properties of the variable, e.g. different icons can be used to indicate that a variable is public or private. If the value is structured (has children), a handle is provided to retrieve the children with the VariablesRequest. If the number of named or indexed children is large, the numbers should be returned via the optional ‘namedVariables’ and ‘indexedVariables’ attributes. The client can use this optional information to present the children in a paged UI and fetch them in chunks.

Method Summary

Methods inherited from Base

#[], build, empty, #initialize, many, one_of, properties, property, property_names, #to_wire, transform, #validate!

Constructor Details

This class inherits a constructor from DAP::Base