microsoft / microsoft/vscode-cpptools

[Feature Request] Fully support target-async on

Aperta
#333 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

debugger Feature Request
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

When the session starts it sends:

-gdb-set target-async on

This is intended to enable asynchronuos commands, see https://sourceware.org/gdb/onlinedocs/gdb/Asynchronous-and-non_002dstop-modes.html

Whether the debugger actually supports it can then be checked using -list-target-features which will respond with something like:

^done,target-features=["async"]

If "async" appears in the target-features list, the debugger supports asynchronuos commands.

However, it never asks to see the supported target-features and starting the debugger and trying to issue commands results in:

Unable to perform this action because the process is running.

Looking in MICore/CommandFactories/gdb.cs in AllowCommandsWhileRunning(), and from what I can see there, it just says false.

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Inizia da MICore/CommandFactories/gdb.cs, in particolare da AllowCommandsWhileRunning(), e segui i comandi di avvio della sessione relativi a -gdb-set target-async on. Esamina come vengono gestite le risposte di -list-target-features e come vengono determinate le autorizzazioni dei comandi durante l’esecuzione. Il lavoro è completato quando le destinazioni asincrone supportate vengono riconosciute e i comandi non falliscono più solo perché il processo è in esecuzione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.