pub struct InstructionBreakpoint {
pub instruction_reference: String,
pub offset: Option<u64>,
pub condition: Option<String>,
pub hit_condition: Option<String>,
pub mode: Option<String>,
}
Expand description
Properties of a breakpoint passed to the setInstructionBreakpoints
request
Fields§
§instruction_reference: String
The instruction reference of the breakpoint.
This should be a memory or instruction pointer reference from an EvaluateResponse
, Variable
, StackFrame
, GotoTarget
, or Breakpoint
.
offset: Option<u64>
The offset from the instruction reference in bytes. This can be negative.
condition: Option<String>
An expression for conditional breakpoints.
It is only honored by a debug adapter if the corresponding capability supportsConditionalBreakpoints
is true.
hit_condition: Option<String>
An expression that controls how many hits of the breakpoint are ignored.
The debug adapter is expected to interpret the expression as needed.
The attribute is only honored by a debug adapter if the corresponding capability supportsHitConditionalBreakpoints
is true.
mode: Option<String>
The mode of this breakpoint. If defined, this must be one of the breakpointModes
the debug adapter advertised in its Capabilities
.
Trait Implementations§
Source§impl Clone for InstructionBreakpoint
impl Clone for InstructionBreakpoint
Source§fn clone(&self) -> InstructionBreakpoint
fn clone(&self) -> InstructionBreakpoint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more