Class: DSP::DataBreakpoint
Overview
interface DataBreakpoint {
/** An id representing the data. This id is returned from the dataBreakpointInfo request. */
dataId: string;
/** The access type of the data. */
accessType?: DataBreakpointAccessType;
/** An optional expression for conditional breakpoints. */
condition?: string;
/** An optional expression that controls how many hits of the breakpoint are ignored.
The backend is expected to interpret the expression as needed.
*/
hitCondition?: string;
}
Instance Attribute Summary collapse
-
#accessType ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string.
-
#condition ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string.
-
#dataId ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string.
-
#hitCondition ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DataBreakpoint
constructor
A new instance of DataBreakpoint.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DataBreakpoint
Returns a new instance of DataBreakpoint.
4251 4252 4253 4254 |
# File 'lib/dsp/dsp_protocol.rb', line 4251 def initialize(initial_hash = nil) super @optional_method_names = %i[accessType condition hitCondition] end |
Instance Attribute Details
#accessType ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string
4249 4250 4251 |
# File 'lib/dsp/dsp_protocol.rb', line 4249 def accessType @accessType end |
#condition ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string
4249 4250 4251 |
# File 'lib/dsp/dsp_protocol.rb', line 4249 def condition @condition end |
#dataId ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string
4249 4250 4251 |
# File 'lib/dsp/dsp_protocol.rb', line 4249 def dataId @dataId end |
#hitCondition ⇒ Object
type: string # type: DataBreakpointAccessType # type: string # type: string
4249 4250 4251 |
# File 'lib/dsp/dsp_protocol.rb', line 4249 def hitCondition @hitCondition end |
Instance Method Details
#from_h!(value) ⇒ Object
4256 4257 4258 4259 4260 4261 4262 4263 |
# File 'lib/dsp/dsp_protocol.rb', line 4256 def from_h!(value) value = {} if value.nil? self.dataId = value['dataId'] self.accessType = value['accessType'] # Unknown type self.condition = value['condition'] self.hitCondition = value['hitCondition'] self end |