Sha256: 7f5abde7fce77448a43254209c5c9a7caf77cc6743b8293e9876f4b1cadcd37b

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Properties of a breakpoint or logpoint passed to the setBreakpoints request.
class DAP::SourceBreakpoint < DAP::Base
  # The source line of the breakpoint or logpoint.
  property :line, as: 'number'

  # An optional source column of the breakpoint.
  property :column, required: false, as: 'number'

  # An optional expression for conditional breakpoints.
  # It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
  property :condition, required: false, as: 'string'

  # An optional expression that controls how many hits of the breakpoint are ignored.
  # The backend is expected to interpret the expression as needed.
  # The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.
  property :hitCondition, required: false, as: 'string'

  # If this attribute exists and is non-empty, the backend must not 'break' (stop)
  # but log the message instead. Expressions within {} are interpolated.
  # The attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true.
  property :logMessage, required: false, as: 'string'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-dap-0.1.3 lib/dap/source_breakpoint.rb