package dap

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

    The source line of the breakpoint or logpoint.

    *)
  2. column : int option;
    (*

    An optional source column of the breakpoint.

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

    *)
  5. log_message : string option;
    (*

    If this attribute exists and is non-empty, the backend must not 'break' (stop) but log the message instead. Expressions within {} are interpolated. The attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true.

    *)
}

Properties of a breakpoint or logpoint passed to the setBreakpoints request.

val make : line:int -> ?column:int option -> ?condition:string option -> ?hit_condition:string option -> ?log_message:string option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.