lib/dap/variables_arguments.rb in ruby-dap-0.1.2 vs lib/dap/variables_arguments.rb in ruby-dap-0.1.3
- old
+ new
@@ -1,19 +1,20 @@
require_relative 'value_format'
+# Arguments for ‘variables’ request.
class DAP::VariablesArguments < DAP::Base
# The Variable reference.
- property :variablesReference
+ property :variablesReference, as: 'number'
# Optional filter to limit the child variables to either named or indexed. If omitted, both types are fetched.
# Values: 'indexed', 'named', etc.
- property :filter, required: false # 'indexed' | 'named'
+ property :filter, required: false, as: 'string'
# The index of the first variable to return; if omitted children start at 0.
- property :start, required: false
+ property :start, required: false, as: 'number'
# The number of variables to return. If count is missing or 0, all variables are returned.
- property :count, required: false
+ property :count, required: false, as: 'number'
# Specifies details on how to format the Variable values.
# The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
property :format, required: false, as: DAP::ValueFormat
end