package dap

  1. Overview
  2. Docs
Debug adapter protocol

Install

Dune Dependency

Authors

Maintainers

Sources

dap-1.0.3.tbz
sha256=a7a925d4633f65f89d401b7f267aaa3b5e0a14b16f34d533151bb8ca854e2938
sha512=a4174aa17e91832e444127881d42026ab41026bcf0f6ba521de609143cac3f5271e7031553d99d8f32a5a4da5ece6c1d4cf7a95835fdc089c1b098ef86de1fc7

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.