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/Message/index.html

Module Debug_protocol.MessageSource

Sourcemodule Variables : sig ... end
Sourcetype t = {
  1. id : int;
    (*

    Unique identifier for the message.

    *)
  2. format : string;
    (*

    A format string for the message. Embedded variables have the form '{name}'. If variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes.

    *)
  3. variables : Variables.t option;
    (*

    An object used as a dictionary for looking up the variables in the format string.

    *)
  4. send_telemetry : bool option;
    (*

    If true send to telemetry.

    *)
  5. show_user : bool option;
    (*

    If true show user.

    *)
  6. url : string option;
    (*

    An optional url where additional information about this message can be found.

    *)
  7. url_label : string option;
    (*

    An optional label that is presented to the user as the UI for opening the url.

    *)
}

A structured message object. Used to return errors from requests.

Sourceval make : id:int -> format:string -> ?variables:Variables.t option -> ?send_telemetry:bool option -> ?show_user:bool option -> ?url:string option -> ?url_label:string option -> unit -> t
Sourceval to_yojson : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.