package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. thread_id : int;
    (*

    Retrieve the stacktrace for this thread.

    *)
  2. start_frame : int option;
    (*

    The index of the first frame to return; if omitted frames start at 0.

    *)
  3. levels : int option;
    (*

    The maximum number of frames to return. If levels is not specified or 0, all frames are returned.

    *)
  4. format : Stack_frame_format.t option;
    (*

    Specifies details on how to format the stack frames. The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.

    *)
}

Arguments for 'stackTrace' request.

val make : thread_id:int -> ?start_frame:int option -> ?levels:int option -> ?format:Stack_frame_format.t option -> unit -> t
val to_yojson : t -> Yojson.Safe.t