struct TerminateRequest

Defined at line 2562 of file ../../third_party/github.com/google/cppdap/src/include/dap/protocol.h

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.

Public Members

optional restart