microsoft / microsoft/vscode-cpptools

Feature Request: Graphing Debug Variables

Aperta
#8,770 2 commenti 4 reazioni 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

Type: Feature Request

Something that would be super awesome for this extension would be to be able to plot debugging variables on a graph. I am not a UI guy, but I would think that with all the CSS and JS, this might be not as hard as it is to implement in other IDEs? I think an example is the best way to explain this.

  1. Mark a variable(s) in the debug view window as graphed.
  2. Internally, the extension knows to either use GDB trace or to add a breakpoint on modification.
  3. The extension takes these values as the program runs and plots them as series on a graph.

Another option would be to allow the X axis to either be "time" or "sample". In cases of debugging tests, sample would be most useful. If you were debugging something real-time, time would probably be most useful.

The result would be something like this:
https://visualgdb.com/documentation/livevars/

Eventually, expanding graphing capabilities would be a truly powerful tool for understanding a program's execution at a glance and IMO would greatly speed up debugging capabilities, giving VSCode and this plugin a real edge over other IDEs.

Thanks for reading and thanks for all the work on the extension!

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

L'issue non indica file, test o punti di ingresso. Inizia esaminando l'architettura di debug-view e trace o breakpoint dell'estensione; il lavoro sarebbe completato quando fosse possibile selezionare variabili da tracciare e visualizzarne i valori come serie di grafici rispetto al tempo o al campione.

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

Valutazione

Stack tecnologico
typescript
Ambito
data-visualization, devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.