microsoft / microsoft/vscode-cpptools

Feature Request: Graphing Debug Variables

Abierto
#8,770 2 comentarios 4 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

debugger Feature Request
Lenguaje dominante
TypeScript
Estrellas
6.2k
Forks
1.7k
Merge medio
14 h 46 min
PR fusionados (30 d)
61

Descripción

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!

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

El issue no menciona archivos, pruebas ni puntos de entrada. Empieza revisando la arquitectura de debug-view y de trace o breakpoint de la extensión; se consideraría terminado al seleccionar variables para representarlas y mostrar sus valores como series de gráficos frente al tiempo o a la muestra.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
data-visualization, devtools
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.