struct StackTraceRequest

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

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.

Public Members

optional format
optional levels
optional startFrame
integer threadId