Specification
Defines a common protocol for debug adapters.
#title: Specification layout: specification sectionid: specification toc: true schemaTitle: Debug Adapter Protocol
The Debug Adapter Protocol defines the protocol used between an editor or IDE and a debugger or runtime.
A machine-readable JSON schema can be found here.
The change history of the specification lives here.
#Base Protocol
#ProtocolMessage
Base class of requests, responses, and events.
#Request
A client or debug adapter initiated request.
#Event
A debug adapter initiated event.
#Response
Response for a request.
#ErrorResponse
On error (whenever success is false), the body can provide more details.
#:leftwards_arrow_with_hook: Cancel Request
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.
Arguments for cancel request.
Response to cancel request. This is just an acknowledgement, so no body field is required.
#Events
#:arrow_left: Initialized Event
This event indicates that the debug adapter is ready to accept configuration requests (e.g. setBreakpoints, setExceptionBreakpoints).
A debug adapter is expected to send this event when it is ready to accept configuration requests (but not before the initialize request has finished).
The sequence of events/requests is as follows:
- adapters sends
initializedevent (after theinitializerequest has returned) - client sends zero or more
setBreakpointsrequests - client sends one
setFunctionBreakpointsrequest (if corresponding capabilitysupportsFunctionBreakpointsis true) - client sends a
setExceptionBreakpointsrequest if one or moreexceptionBreakpointFiltershave been defined (or ifsupportsConfigurationDoneRequestis not true) - client sends other future configuration requests
- client sends one
configurationDonerequest to indicate the end of the configuration.
#:arrow_left: Stopped Event
The event indicates that the execution of the debuggee has stopped due to some condition.
This can be caused by a breakpoint previously set, a stepping request has completed, by executing a debugger statement etc.
#:arrow_left: Continued Event
The event indicates that the execution of the debuggee has continued.
Please note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. launch or continue.
It is only necessary to send a continued event if there was no previous request that implied this.
#:arrow_left: Exited Event
The event indicates that the debuggee has exited and returns its exit code.
#:arrow_left: Terminated Event
The event indicates that debugging of the debuggee has terminated. This does not mean that the debuggee itself has exited.
#:arrow_left: Thread Event
The event indicates that a thread has started or exited.
#:arrow_left: Output Event
The event indicates that the target has produced some output.
#:arrow_left: Breakpoint Event
The event indicates that some information about a breakpoint has changed.
#:arrow_left: Module Event
The event indicates that some information about a module has changed.
#:arrow_left: LoadedSource Event
The event indicates that some source has been added, changed, or removed from the set of all loaded sources.
#:arrow_left: Process Event
The event indicates that the debugger has begun debugging a new process. Either one that it has launched, or one that it has attached to.
#:arrow_left: Capabilities Event
The event indicates that one or more capabilities have changed.
Since the capabilities are dependent on the client and its UI, it might not be possible to change that at random times (or too late).
Consequently this event has a hint characteristic: a client can only be expected to make a 'best effort' in honoring individual capabilities but there are no guarantees.
Only changed capabilities need to be included, all other capabilities keep their values.
#:arrow_left: ProgressStart Event
The event signals that a long running operation is about to start and provides additional information for the client to set up a corresponding progress and cancellation UI.
The client is free to delay the showing of the UI in order to reduce flicker.
This event should only be sent if the corresponding capability supportsProgressReporting is true.
#:arrow_left: ProgressUpdate Event
The event signals that the progress reporting needs to be updated with a new message and/or percentage.
The client does not have to update the UI immediately, but the clients needs to keep track of the message and/or percentage values.
This event should only be sent if the corresponding capability supportsProgressReporting is true.
#:arrow_left: ProgressEnd Event
The event signals the end of the progress reporting with a final message.
This event should only be sent if the corresponding capability supportsProgressReporting is true.
#:arrow_left: Invalidated Event
This event signals that some state in the debug adapter has changed and requires that the client needs to re-render the data snapshot previously requested.
Debug adapters do not have to emit this event for runtime changes like stopped or thread events because in that case the client refetches the new state anyway. But the event can be used for example to refresh the UI after rendering formatting has changed in the debug adapter.
This event should only be sent if the corresponding capability supportsInvalidatedEvent is true.
#:arrow_left: Memory Event
This event indicates that some memory range has been updated. It should only be sent if the corresponding capability supportsMemoryEvent is true.
Clients typically react to the event by re-issuing a readMemory request if they show the memory identified by the memoryReference and if the updated memory range overlaps the displayed range. Clients should not make assumptions how individual memory references relate to each other, so they should not assume that they are part of a single continuous address range and might overlap.
Debug adapters can use this event to indicate that the contents of a memory range has changed due to some other request like setVariable or setExpression. Debug adapters are not expected to emit this event for each and every memory change of a running program, because that information is typically not available from debuggers and it would flood clients with too many events.
#Reverse Requests
#:arrow_right_hook: RunInTerminal Request
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.
Arguments for runInTerminal request.
Response to runInTerminal request.
#:leftwards_arrow_with_hook: StartDebugging Request
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.
Arguments for startDebugging request.
Response to startDebugging request. This is just an acknowledgement, so no body field is required.
#Requests
#:leftwards_arrow_with_hook: Initialize Request
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.
Arguments for initialize request.
Response to initialize request.
#:leftwards_arrow_with_hook: ConfigurationDone Request
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.
Arguments for configurationDone request.
Response to configurationDone request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Launch Request
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.
Arguments for launch request. Additional attributes are implementation specific.
Response to launch request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Attach Request
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.
Arguments for attach request. Additional attributes are implementation specific.
Response to attach request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Restart Request
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.
Arguments for restart request.
Response to restart request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Disconnect Request
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).
Arguments for disconnect request.
Response to disconnect request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Terminate Request
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.
Arguments for terminate request.
Response to terminate request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: BreakpointLocations Request
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.
Arguments for breakpointLocations request.
Response to breakpointLocations request.
Contains possible locations for source breakpoints.
#:leftwards_arrow_with_hook: SetBreakpoints Request
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.
Arguments for setBreakpoints request.
Response to setBreakpoints request.
Returned is information about each breakpoint created by this request.
This includes the actual code location and whether the breakpoint could be verified.
The breakpoints returned are in the same order as the elements of the breakpoints
(or the deprecated lines) array in the arguments.
#:leftwards_arrow_with_hook: SetFunctionBreakpoints Request
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.
Arguments for setFunctionBreakpoints request.
Response to setFunctionBreakpoints request.
Returned is information about each breakpoint created by this request.
#:leftwards_arrow_with_hook: SetExceptionBreakpoints Request
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.
Arguments for setExceptionBreakpoints request.
Response to setExceptionBreakpoints request.
The response contains an array of Breakpoint objects with information about each exception breakpoint or filter. The Breakpoint objects are in the same order as the elements of the filters, filterOptions, exceptionOptions arrays given as arguments. If both filters and filterOptions are given, the returned array must start with filters information first, followed by filterOptions information.
The verified property of a Breakpoint object signals whether the exception breakpoint or filter could be successfully created and whether the condition is valid. In case of an error the message property explains the problem. The id property can be used to introduce a unique ID for the exception breakpoint or filter so that it can be updated subsequently by sending breakpoint events.
For backward compatibility both the breakpoints array and the enclosing body are optional. If these elements are missing a client is not able to show problems for individual exception breakpoints or filters.
#:leftwards_arrow_with_hook: DataBreakpointInfo Request
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.
Arguments for dataBreakpointInfo request.
Response to dataBreakpointInfo request.
#:leftwards_arrow_with_hook: SetDataBreakpoints Request
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.
Arguments for setDataBreakpoints request.
Response to setDataBreakpoints request.
Returned is information about each breakpoint created by this request.
#:leftwards_arrow_with_hook: SetInstructionBreakpoints Request
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.
Arguments for setInstructionBreakpoints request
Response to setInstructionBreakpoints request
#:leftwards_arrow_with_hook: Continue Request
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.
Arguments for continue request.
Response to continue request.
#:leftwards_arrow_with_hook: Next Request
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.
Arguments for next request.
Response to next request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: StepIn Request
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.
Arguments for stepIn request.
Response to stepIn request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: StepOut Request
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.
Arguments for stepOut request.
Response to stepOut request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: StepBack Request
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.
Arguments for stepBack request.
Response to stepBack request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: ReverseContinue Request
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.
Arguments for reverseContinue request.
Response to reverseContinue request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: RestartFrame Request
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.
Arguments for restartFrame request.
Response to restartFrame request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Goto Request
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).
Arguments for goto request.
Response to goto request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: Pause Request
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.
Arguments for pause request.
Response to pause request. This is just an acknowledgement, so no body field is required.
#:leftwards_arrow_with_hook: StackTrace Request
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.
Arguments for stackTrace request.
Response to stackTrace request.
#:leftwards_arrow_with_hook: Scopes Request
The request returns the variable scopes for a given stack frame ID.
Arguments for scopes request.
Response to scopes request.
#:leftwards_arrow_with_hook: Variables Request
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.
Arguments for variables request.
Response to variables request.
#:leftwards_arrow_with_hook: SetVariable Request
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.
Arguments for setVariable request.
Response to setVariable request.
#:leftwards_arrow_with_hook: Source Request
The request retrieves the source code for a given source reference.
Arguments for source request.
Response to source request.
#:leftwards_arrow_with_hook: Threads Request
The request retrieves a list of all threads.
Response to threads request.
#:leftwards_arrow_with_hook: TerminateThreads Request
The request terminates the threads with the given ids.
Clients should only call this request if the corresponding capability supportsTerminateThreadsRequest is true.
Arguments for terminateThreads request.
Response to terminateThreads request. This is just an acknowledgement, no body field is required.
#:leftwards_arrow_with_hook: Modules Request
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.
Arguments for modules request.
Response to modules request.
#:leftwards_arrow_with_hook: LoadedSources Request
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.
Arguments for loadedSources request.
Response to loadedSources request.
#:leftwards_arrow_with_hook: Evaluate Request
Evaluates the given expression in the context of a stack frame.
The expression has access to any variables and arguments that are in scope.
Arguments for evaluate request.
Response to evaluate request.
#:leftwards_arrow_with_hook: SetExpression Request
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.
Arguments for setExpression request.
Response to setExpression request.
#:leftwards_arrow_with_hook: StepInTargets Request
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.
Arguments for stepInTargets request.
Response to stepInTargets request.
#:leftwards_arrow_with_hook: GotoTargets Request
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.
Arguments for gotoTargets request.
Response to gotoTargets request.
#:leftwards_arrow_with_hook: Completions Request
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.
Arguments for completions request.
Response to completions request.
#:leftwards_arrow_with_hook: ExceptionInfo Request
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.
Arguments for exceptionInfo request.
Response to exceptionInfo request.
#:leftwards_arrow_with_hook: ReadMemory Request
Reads bytes from memory at the provided location.
Clients should only call this request if the corresponding capability supportsReadMemoryRequest is true.
Arguments for readMemory request.
Response to readMemory request.
#:leftwards_arrow_with_hook: WriteMemory Request
Writes bytes to memory at the provided location.
Clients should only call this request if the corresponding capability supportsWriteMemoryRequest is true.
Arguments for writeMemory request.
Response to writeMemory request.
#:leftwards_arrow_with_hook: Disassemble Request
Disassembles code stored at the provided location.
Clients should only call this request if the corresponding capability supportsDisassembleRequest is true.
Arguments for disassemble request.
Response to disassemble request.
#:leftwards_arrow_with_hook: Locations Request
Looks up information about a location reference previously returned by the debug adapter.
Arguments for locations request.
Response to locations request.
#Types
#Capabilities
Information about the capabilities of a debug adapter.
#ExceptionBreakpointsFilter
An ExceptionBreakpointsFilter is shown in the UI as an filter option for configuring how exceptions are dealt with.
#Message
A structured message object. Used to return errors from requests.
#Module
A Module object represents a row in the modules view.
The id attribute identifies a module in the modules view and is used in a module event for identifying a module for adding, updating or deleting.
The name attribute is used to minimally render the module in the UI.
Additional attributes can be added to the module. They show up in the module view if they have a corresponding ColumnDescriptor.
To avoid an unnecessary proliferation of additional attributes with similar semantics but different names, we recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.
#ColumnDescriptor
A ColumnDescriptor specifies what module attribute to show in a column of the modules view, how to format it,
and what the column's label should be.
It is only used if the underlying UI actually supports this level of customization.
#Thread
A Thread
#Source
A Source is a descriptor for source code.
It is returned from the debug adapter as part of a StackFrame and it is used by clients when specifying breakpoints.
#StackFrame
A Stackframe contains the source location.
#Scope
A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.
#Variable
A Variable is a name/value pair.
The type attribute is shown if space permits or when hovering over the variable's name.
The kind attribute is used to render additional properties of the variable, e.g. different icons can be used to indicate that a variable is public or private.
If the value is structured (has children), a handle is provided to retrieve the children with the variables request.
If the number of named or indexed children is large, the numbers should be returned via the namedVariables and indexedVariables attributes.
The client can use this information to present the children in a paged UI and fetch them in chunks.
#VariablePresentationHint
Properties of a variable that can be used to determine how to render the variable in the UI.
#BreakpointLocation
Properties of a breakpoint location returned from the breakpointLocations request.
#SourceBreakpoint
Properties of a breakpoint or logpoint passed to the setBreakpoints request.
#FunctionBreakpoint
Properties of a breakpoint passed to the setFunctionBreakpoints request.
#DataBreakpointAccessType
This enumeration defines all possible access types for data breakpoints. Values: 'read', 'write', 'readWrite'
#DataBreakpoint
Properties of a data breakpoint passed to the setDataBreakpoints request.
#InstructionBreakpoint
Properties of a breakpoint passed to the setInstructionBreakpoints request
#Breakpoint
Information about a breakpoint created in setBreakpoints, setFunctionBreakpoints, setInstructionBreakpoints, or setDataBreakpoints requests.
#SteppingGranularity
The granularity of one 'step' in the stepping requests next, stepIn, stepOut, and stepBack.
Values:
- 'statement': The step should allow the program to run until the current statement has finished executing. The meaning of a statement is determined by the adapter and it may be considered equivalent to a line. For example 'for(int i = 0; i < 10; i++)' could be considered to have 3 statements 'int i = 0', 'i < 10', and 'i++'.
- 'line': The step should allow the program to run until the current source line has executed.
- 'instruction': The step should allow one instruction to execute (e.g. one x86 instruction).
#StepInTarget
A StepInTarget can be used in the stepIn request and determines into which single target the stepIn request should step.
#GotoTarget
A GotoTarget describes a code location that can be used as a target in the goto request.
The possible goto targets can be determined via the gotoTargets request.
#CompletionItem
CompletionItems are the suggestions returned from the completions request.
#CompletionItemType
Some predefined types for the CompletionItem. Please note that not all clients have specific icons for all of them. Values: 'method', 'function', 'constructor', 'field', 'variable', 'class', 'interface', 'module', 'property', 'unit', 'value', 'enum', 'keyword', 'snippet', 'text', 'color', 'file', 'reference', 'customcolor'
#ChecksumAlgorithm
Names of checksum algorithms that may be supported by a debug adapter. Values: 'MD5', 'SHA1', 'SHA256', 'timestamp'
#Checksum
The checksum of an item calculated by the specified algorithm.
#ValueFormat
Provides formatting information for a value.
#StackFrameFormat
Provides formatting information for a stack frame.
#ExceptionFilterOptions
An ExceptionFilterOptions is used to specify an exception filter together with a condition for the setExceptionBreakpoints request.
#ExceptionOptions
An ExceptionOptions assigns configuration options to a set of exceptions.
#ExceptionBreakMode
This enumeration defines all possible conditions when a thrown exception should result in a break.
never: never breaks,
always: always breaks,
unhandled: breaks when exception unhandled,
userUnhandled: breaks if the exception is not handled by user code. Values: 'never', 'always', 'unhandled', 'userUnhandled'
#ExceptionPathSegment
An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a tree of exceptions.
If a segment consists of more than one name, it matches the names provided if negate is false or missing, or it matches anything except the names provided if negate is true.
#ExceptionDetails
Detailed information about an exception that has occurred.
#DisassembledInstruction
Represents a single disassembled instruction.
#InvalidatedAreas
Logical areas that can be invalidated by the invalidated event.
Values:
- 'all': All previously fetched data has become invalid and needs to be refetched.
- 'stacks': Previously fetched stack related data has become invalid and needs to be refetched.
- 'threads': Previously fetched thread related data has become invalid and needs to be refetched.
- 'variables': Previously fetched variable data has become invalid and needs to be refetched. etc.
#BreakpointMode
A BreakpointMode is provided as a option when setting breakpoints on sources or instructions.
#BreakpointModeApplicability
Describes one or more type of breakpoint a BreakpointMode applies to. This is a non-exhaustive enumeration and may expand as future breakpoint types are added.
Values:
- 'source': In
SourceBreakpoints - 'exception': In exception breakpoints applied in the
ExceptionFilterOptions - 'data': In data breakpoints requested in the
DataBreakpointInforequest - 'instruction': In
InstructionBreakpoints etc.
Quick Actions
Details
- Type
- Specification
- Author
- microsoft
- Slug
- microsoft/specification
