Module Debug_protocol.Function_breakpoint

type t = {
name : string;

The name of the function.

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 setFunctionBreakpoints request.

val make : name:string -> ?⁠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