Closed
Description
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:
- DAP: Support cancellation debug-adapter-protocol#76
- DAP library: Support cancel request vscode-debugadapter-node#186
Cancellation in LSP:
https://microsoft.github.io/language-server-protocol/specification#cancelRequest