Sha256: 6e40cb4c1d70426066e445893fadd46020181e126765bdecd7157af2b65602eb

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

require_relative 'source'

# Information about a Breakpoint created in setBreakpoints,
# setFunctionBreakpoints, setInstructionBreakpoints, or setDataBreakpoints.
class DAP::Breakpoint < DAP::Base
  # An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.
  property :id, required: false, as: 'number'

  # If true breakpoint could be set (but not necessarily at the desired location).
  property :verified, as: 'boolean'

  # An optional message about the state of the breakpoint.
  # This is shown to the user and can be used to explain why a breakpoint could not be verified.
  property :message, required: false, as: 'string'

  # The source where the breakpoint is located.
  property :source, required: false, as: DAP::Source

  # The start line of the actual range covered by the breakpoint.
  property :line, required: false, as: 'number'

  # An optional start column of the actual range covered by the breakpoint.
  property :column, required: false, as: 'number'

  # An optional end line of the actual range covered by the breakpoint.
  property :endLine, required: false, as: 'number'

  # An optional end column of the actual range covered by the breakpoint.
  # If no end line is given, then the end column is assumed to be in the start line.
  property :endColumn, required: false, as: 'number'

  # An optional memory reference to where the breakpoint is set.
  property :instructionReference, required: false, as: 'string'

  # An optional offset from the instruction reference.
  # This can be negative.
  property :offset, required: false, as: 'number'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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