Sha256: 523fb6a9fb0257d41934f15b512aa4f4e08ee4bc1ebc686200df7d25169df1f3

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

# The event indicates that the execution of the debuggee has stopped due to some
# condition. This can be caused by a break point previously set, a stepping
# request has completed, by executing a debugger statement etc.
class DAP::StoppedEventBody < DAP::Base
  # The reason for the event.
  # For backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).
  # Values: 'step', 'breakpoint', 'exception', 'pause', 'entry', 'goto', 'function breakpoint', 'data breakpoint', 'instruction breakpoint', etc.
  property :reason, as: 'string'

  # The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated.
  property :description, required: false, as: 'string'

  # The thread which was stopped.
  property :threadId, required: false, as: 'number'

  # A value of true hints to the frontend that this event should not change the focus.
  property :preserveFocusHint, required: false, as: 'boolean'

  # Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI.
  property :text, required: false, as: 'string'

  # If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.
  # - The client should use this information to enable that all threads can be expanded to access their stacktraces.
  # - If the attribute is missing or false, only the thread with the given threadId can be expanded.
  property :allThreadsStopped, required: false, as: 'boolean'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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