package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. name : string;
    (*

    The name of the function.

    *)
  2. condition : string option;
    (*

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

    *)
  3. 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 setFunctionBreakpoints request.

val make : name:string -> ?condition:string option -> ?hit_condition:string option -> unit -> t
val to_yojson : t -> Yojson.Safe.t