package dap

  1. Overview
  2. Docs
Debug adapter protocol

Install

Dune Dependency

Authors

Maintainers

Sources

dap-1.0.2.tbz
sha256=5e14788efb74983486d34a0376669543837e4df32e9a267a5472a9c94b7b743f
sha512=1e075d34cbd290fda63bed2deade9972decc05553c68682b9e82891819129e1070e39f8f12f37deaa7a586fc259cc603d586effe227db123eacb94eced770a97

doc/dap.types/Debug_protocol/Breakpoint/index.html

Module Debug_protocol.BreakpointSource

Sourcetype t = {
  1. id : int option;
    (*

    An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.

    *)
  2. verified : bool;
    (*

    If true breakpoint could be set (but not necessarily at the desired location).

    *)
  3. message : string option;
    (*

    An optional message about the state of the breakpoint. This is shown to the user and can be used to explain why a breakpoint could not be verified.

    *)
  4. source : Source.t option;
    (*

    The source where the breakpoint is located.

    *)
  5. line : int option;
    (*

    The start line of the actual range covered by the breakpoint.

    *)
  6. column : int option;
    (*

    An optional start column of the actual range covered by the breakpoint.

    *)
  7. end_line : int option;
    (*

    An optional end line of the actual range covered by the breakpoint.

    *)
  8. end_column : int option;
    (*

    An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end column is assumed to be in the start line.

    *)
  9. instruction_reference : string option;
    (*

    An optional memory reference to where the breakpoint is set.

    *)
  10. offset : int option;
    (*

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

    *)
}

Information about a Breakpoint created in setBreakpoints, setFunctionBreakpoints, setInstructionBreakpoints, or setDataBreakpoints.

Sourceval make : ?id:int option -> verified:bool -> ?message:string option -> ?source:Source.t option -> ?line:int option -> ?column:int option -> ?end_line:int option -> ?end_column:int option -> ?instruction_reference:string option -> ?offset:int option -> unit -> t
Sourceval to_yojson : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.