package dap
Debug adapter protocol
Install
Dune Dependency
Authors
Maintainers
Sources
dap-1.0.5.tbz
sha256=89b529759810e9b7b6d4e70e1c606261450c2e29dc74d023e300c5286c4f5914
sha512=009bd57fafab07258082dd637af817bab33bf4354fa7ad5299200b86db35c1dedd3def8988bfcb9a51cf06fd18163a370a78e1af24b3d441806cd6ce33d48fda
doc/dap.types/Debug_protocol/Response/index.html
Module Debug_protocol.Response
Source
Source
type t = {
seq : int;
(*Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
*)type_ : Type.t;
request_seq : int;
(*Sequence number of the corresponding request.
*)success : bool;
(*Outcome of the request. If true, the request was successful and the 'body' attribute may contain the result of the request. If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
*)command : string;
(*The command requested.
*)message : Message.t option;
(*Contains the raw error in short form if 'success' is false. This raw error might be interpreted by the frontend and is not shown in the UI. Some predefined values exist.
*)body : Yojson.Safe.t;
(*Contains request result if success is true and optional error details if success is false.
*)
}
Source
val make :
seq:int ->
type_:Type.t ->
request_seq:int ->
success:bool ->
command:string ->
?message:Message.t option ->
?body:Yojson.Safe.t ->
unit ->
t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>