Skip to content

Support cancellation in DAP communication #80374

Closed
@weinand

Description

@weinand

Currently there is no way for the VS Code UI to cancel a long running request in the debug adapter.

Example:

VS Code sends out a variables request which takes very long to complete because the variable is a huge array.
User sees the spinner in the variables view and presses "Step over".
This action should cancel the original variables request, however currently there is no way for VS Code to tell the debug adapter to stop what it is currently doing.

Related issues:

Cancellation in LSP:
https://microsoft.github.io/language-server-protocol/specification#cancelRequest

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions