package dap

  1. Overview
  2. Docs

Module Data_breakpoint_info_command.ResultSource

Sourcetype t = {
  1. data_id : string option;
    (*

    An identifier for the data on which a data breakpoint can be registered with the `setDataBreakpoints` request or null if no data breakpoint is available. If a `variablesReference` or `frameId` is passed, the `dataId` is valid in the current suspended state, otherwise it's valid indefinitely. See 'Lifetime of Object References' in the Overview section for details. Breakpoints set using the `dataId` in the `setDataBreakpoints` request may outlive the lifetime of the associated `dataId`.

    *)
  2. description : string;
    (*

    UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available.

    *)
  3. access_types : Data_breakpoint_access_type.t list option;
    (*

    Attribute lists the available access types for a potential data breakpoint. A UI client could surface this information.

    *)
  4. can_persist : bool option;
    (*

    Attribute indicates that a potential data breakpoint could be persisted across sessions.

    *)
}
Sourceval make : ?data_id:string -> description:string -> ?access_types:Data_breakpoint_access_type.t list option -> ?can_persist:bool option -> unit -> t
Sourceval to_yojson : t -> Yojson.Safe.t