// This file is autogenerated. Do not edit by hand.
// To regenerate from schema, run `cargo run -p generator`.
#![allow(clippy::doc_lazy_continuation)]
pub use crate::IRequest;
/// The `attach` request is sent from the client to the debug adapter to attach to a debuggee that is already running.
/// Since attaching is debugger/runtime specific, the arguments for this request are not part of this specification.
///
/// See [AttachRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Attach)
pub enum Attach {}
impl IRequest for Attach {
const COMMAND: &'static str = "attach";
type Arguments = crate::AttachRequestArguments;
type Response = ();
}
/// The `breakpointLocations` request returns all possible locations for source breakpoints in a given range.
/// Clients should only call this request if the corresponding capability `supportsBreakpointLocationsRequest` is true.
///
/// See [BreakpointLocationsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_BreakpointLocations)
pub enum BreakpointLocations {}
impl IRequest for BreakpointLocations {
const COMMAND: &'static str = "breakpointLocations";
type Arguments = crate::BreakpointLocationsArguments;
type Response = crate::BreakpointLocationsResponse;
}
/// The `cancel` request is used by the client in two situations:
/// - to indicate that it is no longer interested in the result produced by a specific request issued earlier
/// - to cancel a progress sequence.
/// Clients should only call this request if the corresponding capability `supportsCancelRequest` is true.
/// This request has a hint characteristic: a debug adapter can only be expected to make a 'best effort' in honoring this request but there are no guarantees.
/// The `cancel` request may return an error if it could not cancel an operation but a client should refrain from presenting this error to end users.
/// The request that got cancelled still needs to send a response back. This can either be a normal result (`success` attribute true) or an error response (`success` attribute false and the `message` set to `cancelled`).
/// Returning partial results from a cancelled request is possible but please note that a client has no generic way for detecting that a response is partial or not.
/// The progress that got cancelled still needs to send a `progressEnd` event back.
/// A client should not assume that progress just got cancelled after sending the `cancel` request.
///
/// See [CancelRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Cancel)
pub enum Cancel {}
impl IRequest for Cancel {
const COMMAND: &'static str = "cancel";
type Arguments = crate::CancelArguments;
type Response = ();
}
/// Returns a list of possible completions for a given caret position and text.
/// Clients should only call this request if the corresponding capability `supportsCompletionsRequest` is true.
///
/// See [CompletionsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Completions)
pub enum Completions {}
impl IRequest for Completions {
const COMMAND: &'static str = "completions";
type Arguments = crate::CompletionsArguments;
type Response = crate::CompletionsResponse;
}
/// This request indicates that the client has finished initialization of the debug adapter.
/// So it is the last request in the sequence of configuration requests (which was started by the `initialized` event).
/// Clients should only call this request if the corresponding capability `supportsConfigurationDoneRequest` is true.
///
/// See [ConfigurationDoneRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_ConfigurationDone)
pub enum ConfigurationDone {}
impl IRequest for ConfigurationDone {
const COMMAND: &'static str = "configurationDone";
type Arguments = crate::ConfigurationDoneArguments;
type Response = ();
}
/// The request resumes execution of all threads. If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true resumes only the specified thread. If not all threads were resumed, the `allThreadsContinued` attribute of the response should be set to false.
///
/// See [ContinueRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Continue)
pub enum Continue {}
impl IRequest for Continue {
const COMMAND: &'static str = "continue";
type Arguments = crate::ContinueArguments;
type Response = crate::ContinueResponse;
}
/// Obtains information on a possible data breakpoint that could be set on an expression or variable.
/// Clients should only call this request if the corresponding capability `supportsDataBreakpoints` is true.
///
/// See [DataBreakpointInfoRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_DataBreakpointInfo)
pub enum DataBreakpointInfo {}
impl IRequest for DataBreakpointInfo {
const COMMAND: &'static str = "dataBreakpointInfo";
type Arguments = crate::DataBreakpointInfoArguments;
type Response = crate::DataBreakpointInfoResponse;
}
/// Disassembles code stored at the provided location.
/// Clients should only call this request if the corresponding capability `supportsDisassembleRequest` is true.
///
/// See [DisassembleRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Disassemble)
pub enum Disassemble {}
impl IRequest for Disassemble {
const COMMAND: &'static str = "disassemble";
type Arguments = crate::DisassembleArguments;
type Response = crate::DisassembleResponse;
}
/// The `disconnect` request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).
/// In addition, the debug adapter must terminate the debuggee if it was started with the `launch` request. If an `attach` request was used to connect to the debuggee, then the debug adapter must not terminate the debuggee.
/// This implicit behavior of when to terminate the debuggee can be overridden with the `terminateDebuggee` argument (which is only supported by a debug adapter if the corresponding capability `supportTerminateDebuggee` is true).
///
/// See [DisconnectRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Disconnect)
pub enum Disconnect {}
impl IRequest for Disconnect {
const COMMAND: &'static str = "disconnect";
type Arguments = crate::DisconnectArguments;
type Response = ();
}
/// Evaluates the given expression in the context of a stack frame.
/// The expression has access to any variables and arguments that are in scope.
///
/// See [EvaluateRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Evaluate)
pub enum Evaluate {}
impl IRequest for Evaluate {
const COMMAND: &'static str = "evaluate";
type Arguments = crate::EvaluateArguments;
type Response = crate::EvaluateResponse;
}
/// Retrieves the details of the exception that caused this event to be raised.
/// Clients should only call this request if the corresponding capability `supportsExceptionInfoRequest` is true.
///
/// See [ExceptionInfoRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_ExceptionInfo)
pub enum ExceptionInfo {}
impl IRequest for ExceptionInfo {
const COMMAND: &'static str = "exceptionInfo";
type Arguments = crate::ExceptionInfoArguments;
type Response = crate::ExceptionInfoResponse;
}
/// The request sets the location where the debuggee will continue to run.
/// This makes it possible to skip the execution of code or to execute code again.
/// The code between the current location and the goto target is not executed but skipped.
/// The debug adapter first sends the response and then a `stopped` event with reason `goto`.
/// Clients should only call this request if the corresponding capability `supportsGotoTargetsRequest` is true (because only then goto targets exist that can be passed as arguments).
///
/// See [GotoRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Goto)
pub enum Goto {}
impl IRequest for Goto {
const COMMAND: &'static str = "goto";
type Arguments = crate::GotoArguments;
type Response = ();
}
/// This request retrieves the possible goto targets for the specified source location.
/// These targets can be used in the `goto` request.
/// Clients should only call this request if the corresponding capability `supportsGotoTargetsRequest` is true.
///
/// See [GotoTargetsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_GotoTargets)
pub enum GotoTargets {}
impl IRequest for GotoTargets {
const COMMAND: &'static str = "gotoTargets";
type Arguments = crate::GotoTargetsArguments;
type Response = crate::GotoTargetsResponse;
}
/// The `initialize` request is sent as the first request from the client to the debug adapter in order to configure it with client capabilities and to retrieve capabilities from the debug adapter.
/// Until the debug adapter has responded with an `initialize` response, the client must not send any additional requests or events to the debug adapter.
/// In addition the debug adapter is not allowed to send any requests or events to the client until it has responded with an `initialize` response.
/// The `initialize` request may only be sent once.
///
/// See [InitializeRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Initialize)
pub enum Initialize {}
impl IRequest for Initialize {
const COMMAND: &'static str = "initialize";
type Arguments = crate::InitializeRequestArguments;
type Response = crate::Capabilities;
}
/// This launch request is sent from the client to the debug adapter to start the debuggee with or without debugging (if `noDebug` is true).
/// Since launching is debugger/runtime specific, the arguments for this request are not part of this specification.
///
/// See [LaunchRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Launch)
pub enum Launch {}
impl IRequest for Launch {
const COMMAND: &'static str = "launch";
type Arguments = crate::LaunchRequestArguments;
type Response = ();
}
/// Retrieves the set of all sources currently loaded by the debugged process.
/// Clients should only call this request if the corresponding capability `supportsLoadedSourcesRequest` is true.
///
/// See [LoadedSourcesRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_LoadedSources)
pub enum LoadedSources {}
impl IRequest for LoadedSources {
const COMMAND: &'static str = "loadedSources";
type Arguments = crate::LoadedSourcesArguments;
type Response = crate::LoadedSourcesResponse;
}
/// Looks up information about a location reference previously returned by the debug adapter.
///
/// See [LocationsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Locations)
pub enum Locations {}
impl IRequest for Locations {
const COMMAND: &'static str = "locations";
type Arguments = crate::LocationsArguments;
type Response = crate::LocationsResponse;
}
/// Modules can be retrieved from the debug adapter with this request which can either return all modules or a range of modules to support paging.
/// Clients should only call this request if the corresponding capability `supportsModulesRequest` is true.
///
/// See [ModulesRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Modules)
pub enum Modules {}
impl IRequest for Modules {
const COMMAND: &'static str = "modules";
type Arguments = crate::ModulesArguments;
type Response = crate::ModulesResponse;
}
/// The request executes one step (in the given granularity) for the specified thread and allows all other threads to run freely by resuming them.
/// If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true prevents other suspended threads from resuming.
/// The debug adapter first sends the response and then a `stopped` event (with reason `step`) after the step has completed.
///
/// See [NextRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Next)
pub enum Next {}
impl IRequest for Next {
const COMMAND: &'static str = "next";
type Arguments = crate::NextArguments;
type Response = ();
}
/// The request suspends the debuggee.
/// The debug adapter first sends the response and then a `stopped` event (with reason `pause`) after the thread has been paused successfully.
///
/// See [PauseRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Pause)
pub enum Pause {}
impl IRequest for Pause {
const COMMAND: &'static str = "pause";
type Arguments = crate::PauseArguments;
type Response = ();
}
/// Reads bytes from memory at the provided location.
/// Clients should only call this request if the corresponding capability `supportsReadMemoryRequest` is true.
///
/// See [ReadMemoryRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_ReadMemory)
pub enum ReadMemory {}
impl IRequest for ReadMemory {
const COMMAND: &'static str = "readMemory";
type Arguments = crate::ReadMemoryArguments;
type Response = crate::ReadMemoryResponse;
}
/// The request restarts execution of the specified stack frame.
/// The debug adapter first sends the response and then a `stopped` event (with reason `restart`) after the restart has completed.
/// Clients should only call this request if the corresponding capability `supportsRestartFrame` is true.
///
/// See [RestartFrameRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_RestartFrame)
pub enum RestartFrame {}
impl IRequest for RestartFrame {
const COMMAND: &'static str = "restartFrame";
type Arguments = crate::RestartFrameArguments;
type Response = ();
}
/// Restarts a debug session. Clients should only call this request if the corresponding capability `supportsRestartRequest` is true.
/// If the capability is missing or has the value false, a typical client emulates `restart` by terminating the debug adapter first and then launching it anew.
///
/// See [RestartRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Restart)
pub enum Restart {}
impl IRequest for Restart {
const COMMAND: &'static str = "restart";
type Arguments = crate::RestartArguments;
type Response = ();
}
/// The request resumes backward execution of all threads. If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true resumes only the specified thread. If not all threads were resumed, the `allThreadsContinued` attribute of the response should be set to false.
/// Clients should only call this request if the corresponding capability `supportsStepBack` is true.
///
/// See [ReverseContinueRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_ReverseContinue)
pub enum ReverseContinue {}
impl IRequest for ReverseContinue {
const COMMAND: &'static str = "reverseContinue";
type Arguments = crate::ReverseContinueArguments;
type Response = ();
}
/// This request is sent from the debug adapter to the client to run a command in a terminal.
/// This is typically used to launch the debuggee in a terminal provided by the client.
/// This request should only be called if the corresponding client capability `supportsRunInTerminalRequest` is true.
/// Client implementations of `runInTerminal` are free to run the command however they choose including issuing the command to a command line interpreter (aka 'shell'). Argument strings passed to the `runInTerminal` request must arrive verbatim in the command to be run. As a consequence, clients which use a shell are responsible for escaping any special shell characters in the argument strings to prevent them from being interpreted (and modified) by the shell.
/// Some users may wish to take advantage of shell processing in the argument strings. For clients which implement `runInTerminal` using an intermediary shell, the `argsCanBeInterpretedByShell` property can be set to true. In this case the client is requested not to escape any special shell characters in the argument strings.
///
/// See [RunInTerminalRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_RunInTerminal)
pub enum RunInTerminal {}
impl IRequest for RunInTerminal {
const COMMAND: &'static str = "runInTerminal";
type Arguments = crate::RunInTerminalRequestArguments;
type Response = crate::RunInTerminalResponse;
}
/// The request returns the variable scopes for a given stack frame ID.
///
/// See [ScopesRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Scopes)
pub enum Scopes {}
impl IRequest for Scopes {
const COMMAND: &'static str = "scopes";
type Arguments = crate::ScopesArguments;
type Response = crate::ScopesResponse;
}
/// Sets multiple breakpoints for a single source and clears all previous breakpoints in that source.
/// To clear all breakpoint for a source, specify an empty array.
/// When a breakpoint is hit, a `stopped` event (with reason `breakpoint`) is generated.
///
/// See [SetBreakpointsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetBreakpoints)
pub enum SetBreakpoints {}
impl IRequest for SetBreakpoints {
const COMMAND: &'static str = "setBreakpoints";
type Arguments = crate::SetBreakpointsArguments;
type Response = crate::SetBreakpointsResponse;
}
/// Replaces all existing data breakpoints with new data breakpoints.
/// To clear all data breakpoints, specify an empty array.
/// When a data breakpoint is hit, a `stopped` event (with reason `data breakpoint`) is generated.
/// Clients should only call this request if the corresponding capability `supportsDataBreakpoints` is true.
///
/// See [SetDataBreakpointsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetDataBreakpoints)
pub enum SetDataBreakpoints {}
impl IRequest for SetDataBreakpoints {
const COMMAND: &'static str = "setDataBreakpoints";
type Arguments = crate::SetDataBreakpointsArguments;
type Response = crate::SetDataBreakpointsResponse;
}
/// The request configures the debugger's response to thrown exceptions. Each of the `filters`, `filterOptions`, and `exceptionOptions` in the request are independent configurations to a debug adapter indicating a kind of exception to catch. An exception thrown in a program should result in a `stopped` event from the debug adapter (with reason `exception`) if any of the configured filters match.
/// Clients should only call this request if the corresponding capability `exceptionBreakpointFilters` returns one or more filters.
///
/// See [SetExceptionBreakpointsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetExceptionBreakpoints)
pub enum SetExceptionBreakpoints {}
impl IRequest for SetExceptionBreakpoints {
const COMMAND: &'static str = "setExceptionBreakpoints";
type Arguments = crate::SetExceptionBreakpointsArguments;
type Response = crate::SetExceptionBreakpointsResponse;
}
/// Evaluates the given `value` expression and assigns it to the `expression` which must be a modifiable l-value.
/// The expressions have access to any variables and arguments that are in scope of the specified frame.
/// Clients should only call this request if the corresponding capability `supportsSetExpression` is true.
/// If a debug adapter implements both `setExpression` and `setVariable`, a client uses `setExpression` if the variable has an `evaluateName` property.
///
/// See [SetExpressionRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetExpression)
pub enum SetExpression {}
impl IRequest for SetExpression {
const COMMAND: &'static str = "setExpression";
type Arguments = crate::SetExpressionArguments;
type Response = crate::SetExpressionResponse;
}
/// Replaces all existing function breakpoints with new function breakpoints.
/// To clear all function breakpoints, specify an empty array.
/// When a function breakpoint is hit, a `stopped` event (with reason `function breakpoint`) is generated.
/// Clients should only call this request if the corresponding capability `supportsFunctionBreakpoints` is true.
///
/// See [SetFunctionBreakpointsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetFunctionBreakpoints)
pub enum SetFunctionBreakpoints {}
impl IRequest for SetFunctionBreakpoints {
const COMMAND: &'static str = "setFunctionBreakpoints";
type Arguments = crate::SetFunctionBreakpointsArguments;
type Response = crate::SetFunctionBreakpointsResponse;
}
/// Replaces all existing instruction breakpoints. Typically, instruction breakpoints would be set from a disassembly window.
/// To clear all instruction breakpoints, specify an empty array.
/// When an instruction breakpoint is hit, a `stopped` event (with reason `instruction breakpoint`) is generated.
/// Clients should only call this request if the corresponding capability `supportsInstructionBreakpoints` is true.
///
/// See [SetInstructionBreakpointsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetInstructionBreakpoints)
pub enum SetInstructionBreakpoints {}
impl IRequest for SetInstructionBreakpoints {
const COMMAND: &'static str = "setInstructionBreakpoints";
type Arguments = crate::SetInstructionBreakpointsArguments;
type Response = crate::SetInstructionBreakpointsResponse;
}
/// Set the variable with the given name in the variable container to a new value. Clients should only call this request if the corresponding capability `supportsSetVariable` is true.
/// If a debug adapter implements both `setVariable` and `setExpression`, a client will only use `setExpression` if the variable has an `evaluateName` property.
///
/// See [SetVariableRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetVariable)
pub enum SetVariable {}
impl IRequest for SetVariable {
const COMMAND: &'static str = "setVariable";
type Arguments = crate::SetVariableArguments;
type Response = crate::SetVariableResponse;
}
/// The request retrieves the source code for a given source reference.
///
/// See [SourceRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Source)
pub enum Source {}
impl IRequest for Source {
const COMMAND: &'static str = "source";
type Arguments = crate::SourceArguments;
type Response = crate::SourceResponse;
}
/// The request returns a stacktrace from the current execution state of a given thread.
/// A client can request all stack frames by omitting the startFrame and levels arguments. For performance-conscious clients and if the corresponding capability `supportsDelayedStackTraceLoading` is true, stack frames can be retrieved in a piecemeal way with the `startFrame` and `levels` arguments. The response of the `stackTrace` request may contain a `totalFrames` property that hints at the total number of frames in the stack. If a client needs this total number upfront, it can issue a request for a single (first) frame and depending on the value of `totalFrames` decide how to proceed. In any case a client should be prepared to receive fewer frames than requested, which is an indication that the end of the stack has been reached.
///
/// See [StackTraceRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StackTrace)
pub enum StackTrace {}
impl IRequest for StackTrace {
const COMMAND: &'static str = "stackTrace";
type Arguments = crate::StackTraceArguments;
type Response = crate::StackTraceResponse;
}
/// This request is sent from the debug adapter to the client to start a new debug session of the same type as the caller.
/// This request should only be sent if the corresponding client capability `supportsStartDebuggingRequest` is true.
/// A client implementation of `startDebugging` should start a new debug session (of the same type as the caller) in the same way that the caller's session was started. If the client supports hierarchical debug sessions, the newly created session can be treated as a child of the caller session.
///
/// See [StartDebuggingRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StartDebugging)
pub enum StartDebugging {}
impl IRequest for StartDebugging {
const COMMAND: &'static str = "startDebugging";
type Arguments = crate::StartDebuggingRequestArguments;
type Response = ();
}
/// The request executes one backward step (in the given granularity) for the specified thread and allows all other threads to run backward freely by resuming them.
/// If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true prevents other suspended threads from resuming.
/// The debug adapter first sends the response and then a `stopped` event (with reason `step`) after the step has completed.
/// Clients should only call this request if the corresponding capability `supportsStepBack` is true.
///
/// See [StepBackRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StepBack)
pub enum StepBack {}
impl IRequest for StepBack {
const COMMAND: &'static str = "stepBack";
type Arguments = crate::StepBackArguments;
type Response = ();
}
/// The request resumes the given thread to step into a function/method and allows all other threads to run freely by resuming them.
/// If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true prevents other suspended threads from resuming.
/// If the request cannot step into a target, `stepIn` behaves like the `next` request.
/// The debug adapter first sends the response and then a `stopped` event (with reason `step`) after the step has completed.
/// If there are multiple function/method calls (or other targets) on the source line,
/// the argument `targetId` can be used to control into which target the `stepIn` should occur.
/// The list of possible targets for a given source line can be retrieved via the `stepInTargets` request.
///
/// See [StepInRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StepIn)
pub enum StepIn {}
impl IRequest for StepIn {
const COMMAND: &'static str = "stepIn";
type Arguments = crate::StepInArguments;
type Response = ();
}
/// This request retrieves the possible step-in targets for the specified stack frame.
/// These targets can be used in the `stepIn` request.
/// Clients should only call this request if the corresponding capability `supportsStepInTargetsRequest` is true.
///
/// See [StepInTargetsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StepInTargets)
pub enum StepInTargets {}
impl IRequest for StepInTargets {
const COMMAND: &'static str = "stepInTargets";
type Arguments = crate::StepInTargetsArguments;
type Response = crate::StepInTargetsResponse;
}
/// The request resumes the given thread to step out (return) from a function/method and allows all other threads to run freely by resuming them.
/// If the debug adapter supports single thread execution (see capability `supportsSingleThreadExecutionRequests`), setting the `singleThread` argument to true prevents other suspended threads from resuming.
/// The debug adapter first sends the response and then a `stopped` event (with reason `step`) after the step has completed.
///
/// See [StepOutRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_StepOut)
pub enum StepOut {}
impl IRequest for StepOut {
const COMMAND: &'static str = "stepOut";
type Arguments = crate::StepOutArguments;
type Response = ();
}
/// The `terminate` request is sent from the client to the debug adapter in order to shut down the debuggee gracefully. Clients should only call this request if the capability `supportsTerminateRequest` is true.
/// Typically a debug adapter implements `terminate` by sending a software signal which the debuggee intercepts in order to clean things up properly before terminating itself.
/// Please note that this request does not directly affect the state of the debug session: if the debuggee decides to veto the graceful shutdown for any reason by not terminating itself, then the debug session just continues.
/// Clients can surface the `terminate` request as an explicit command or they can integrate it into a two stage Stop command that first sends `terminate` to request a graceful shutdown, and if that fails uses `disconnect` for a forceful shutdown.
///
/// See [TerminateRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Terminate)
pub enum Terminate {}
impl IRequest for Terminate {
const COMMAND: &'static str = "terminate";
type Arguments = crate::TerminateArguments;
type Response = ();
}
/// The request terminates the threads with the given ids.
/// Clients should only call this request if the corresponding capability `supportsTerminateThreadsRequest` is true.
///
/// See [TerminateThreadsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_TerminateThreads)
pub enum TerminateThreads {}
impl IRequest for TerminateThreads {
const COMMAND: &'static str = "terminateThreads";
type Arguments = crate::TerminateThreadsArguments;
type Response = ();
}
/// The request retrieves a list of all threads.
///
/// See [ThreadsRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Threads)
pub enum Threads {}
impl IRequest for Threads {
const COMMAND: &'static str = "threads";
type Arguments = ();
type Response = crate::ThreadsResponse;
}
/// Retrieves all child variables for the given variable reference.
/// A filter can be used to limit the fetched children to either named or indexed children.
///
/// See [VariablesRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Variables)
pub enum Variables {}
impl IRequest for Variables {
const COMMAND: &'static str = "variables";
type Arguments = crate::VariablesArguments;
type Response = crate::VariablesResponse;
}
/// Writes bytes to memory at the provided location.
/// Clients should only call this request if the corresponding capability `supportsWriteMemoryRequest` is true.
///
/// See [WriteMemoryRequest.](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_WriteMemory)
pub enum WriteMemory {}
impl IRequest for WriteMemory {
const COMMAND: &'static str = "writeMemory";
type Arguments = crate::WriteMemoryArguments;
type Response = crate::WriteMemoryResponse;
}