microsoft / microsoft/debug-adapter-protocol

Paging support for threads

Open
#159 7 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
HTML
Stars
1.8k
Forks
173
Avg merge
7d 7h
Merged PRs (30d)
2

Description

Similarly to paging support for stackTrace, it would be quite useful if DAP provided paging support for threads.

We came across this with Go goroutines - lightweight virtual threads, where loading all of them at once is quite costly and can even freeze the system (e.g. https://github.com/golang/vscode-go/issues/129). A concurrent Go application can have hundreds of thousands of goroutines, maybe even millions. It is questionable how much interactive debugging happens at that scale, but paging is helpful even if there are only hundreds of threads, a possibility for other languages as well. This would make it possible for editors to limit the amount of threads to display to something manageable and to load more on demand, perhaps with a feature to look up a specific thread by some kind of id/label or condition.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.