Class: DSP::GotoArguments

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface GotoArguments {

    /** Set the goto target for this thread. */
    threadId: number;
    /** The location where the debuggee will continue to run. */
    targetId: number;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from DSP::DSPBase

Instance Attribute Details

#targetIdObject

type: number # type: number



2144
2145
2146
# File 'lib/dsp/dsp_protocol.rb', line 2144

def targetId
  @targetId
end

#threadIdObject

type: number # type: number



2144
2145
2146
# File 'lib/dsp/dsp_protocol.rb', line 2144

def threadId
  @threadId
end

Instance Method Details

#from_h!(value) ⇒ Object



2146
2147
2148
2149
2150
2151
# File 'lib/dsp/dsp_protocol.rb', line 2146

def from_h!(value)
  value = {} if value.nil?
  self.threadId = value['threadId']
  self.targetId = value['targetId']
  self
end