Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support nesting of threads

Aperta
#339 1 commento 9 reazioni 2 assegnatari Vedi su GitHub

@connor4312 ci sta già lavorando.

Dal 10/10/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feature-request

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.

Lingua principale
HTML
Stelle
1.8k
Fork
173
Merge medio
7g 7h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/debug-adapter-protocol

Tutte le issue di microsoft/debug-adapter-protocol

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.