Sha256: 8935b91b2ab673f7240045ed9a0a2b905ef8fe7c748165a8566753185fb47f38

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# The event indicates that the debugger has begun debugging a new process. Either
# one that it has launched, or one that it has attached to.
class DAP::ProcessEventBody < DAP::Base
  # The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js.
  property :name, as: 'string'

  # The system process id of the debugged process. This property will be missing for non-system processes.
  property :systemProcessId, required: false, as: 'number'

  # If true, the process is running on the same computer as the debug adapter.
  property :isLocalProcess, required: false, as: 'boolean'

  # Describes how the debug engine started debugging this process.
  # Values:
  # 'launch': Process was launched under the debugger.
  # 'attach': Debugger attached to an existing process.
  # 'attachForSuspendedLaunch': A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.
  # etc.
  property :startMethod, required: false, as: 'string'

  # The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.
  property :pointerSize, required: false, as: 'number'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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