Module Debug_protocol.Instruction_breakpoint

type t = {
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 : int option;

An optional offset from the instruction reference. This can be negative.

condition : string option;

An optional expression for conditional breakpoints. It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.

hit_condition : string option;

An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed. The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.

}

Properties of a breakpoint passed to the setInstructionBreakpoints request

val make : instruction_reference:string -> ?⁠offset:int option -> ?⁠condition:string option -> ?⁠hit_condition:string option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or