Sha256: e0540e25d0556bf11943ed096dbf017c816c2ae5bd06c23559ee985d7524c576

Contents?: true

Size: 537 Bytes

Versions: 3

Compression:

Stored size: 537 Bytes

Contents

require_relative 'exception_path_segment'
require_relative 'exception_break_mode'

class DAP::ExceptionOptions < DAP::Base
  # A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected.
  # By convention the first segment of the path is a category that is used to group exceptions in the UI.
  property :path, required: false, as: many(DAP::ExceptionPathSegment)

  # Condition when a thrown exception should result in a break.
  property :breakMode, as: DAP::ExceptionBreakMode
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-dap-0.1.2 lib/dap/exception_options.rb
ruby-dap-0.1.1 lib/dap/exception_options.rb
ruby-dap-0.1.0 lib/dap/exception_options.rb