lib/dap/stack_trace_arguments.rb in ruby-dap-0.1.2 vs lib/dap/stack_trace_arguments.rb in ruby-dap-0.1.3

- old
+ new

@@ -1,15 +1,16 @@ require_relative 'stack_frame_format' +# Arguments for ‘stackTrace’ request. class DAP::StackTraceArguments < DAP::Base # Retrieve the stacktrace for this thread. - property :threadId + property :threadId, as: 'number' # The index of the first frame to return; if omitted frames start at 0. - property :startFrame, required: false + property :startFrame, required: false, as: 'number' # The maximum number of frames to return. If levels is not specified or 0, all frames are returned. - property :levels, required: false + property :levels, required: false, as: 'number' # Specifies details on how to format the stack frames. # The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true. property :format, required: false, as: DAP::StackFrameFormat end