Support nesting of threads
@connor4312 y travaille déjà.
Depuis le 10/10/2022.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
I propose adding a property to Thread that a debug adapter can use to specify a parent-child relationship between threads. If thread 1 is the parent of thread 2, the development environment may choose to display thread 2 as a child of thread 1.
interface Thread {
/**
* Identifier of the thread's parent thread.
*/
parentId?: number;
}
Motivation
Go uses green threads, called goroutines. A Go release in the near future will provide information from the debugger than can be used to determine a parent-child relationship between goroutines. Complex servers may have hundreds or thousands of goroutines. Debugging such a server can be challenging, especially when attempting to hunt down what caused a goroutine to be launched. I want Go's debug adapter, DAP, and VSCode to be updated to provide me the option of nesting goroutines to both make the call stack panel more manageable and make it easier to track down the ultimate cause of an event.
- Langage dominant
- HTML
- Étoiles
- 1.8k
- Forks
- 173
- Merge moyen
- 7 j 7 h
- PR mergées (30 j)
- 2
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/debug-adapter-protocol
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
microsoft/debug-adapter-protocol#633 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
microsoft/debug-adapter-protocol#599 · 8 réactions ·
-
under-discussion
Difficulté 2/5 1-3 heures Accessibilité débutants 48/100
microsoft/debug-adapter-protocol#596 · 9 commentaires ·