package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. 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.

    *)
  2. offset : int option;
    (*

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

    *)
  3. condition : string option;
    (*

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

    *)
  4. 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
OCaml

Innovation. Community. Security.