microsoft / microsoft/vscode-cpptools
Feature Request: Graphing Debug Variables
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
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.
- Mark a variable(s) in the debug view window as graphed.
- Internally, the extension knows to either use GDB trace or to add a breakpoint on modification.
- 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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing the extension's debug-view and trace or breakpoint architecture; done would mean selecting variables for plotting and displaying their values as graph series against either time or sample.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100