hediet / vscode-debug-visualizer

An extension for VS Code that visualizes data during debugging.
https://marketplace.visualstudio.com/items?itemName=hediet.debug-visualizer
GNU General Public License v3.0
7.87k stars 410 forks source link

Short choice of visualisers #211

Open Interein2 opened 8 months ago

Interein2 commented 8 months ago

Hi,

I'm a bit confused. In VS Code installed Debug Visualiser from extensions list. I'm sure VS Code has access to python and plotly module, also installed vscodedebugvisualizer module. Code C/C++, with MinGW x64 as compiler/debugger, Windows platform.

Then debugging, Visualiser window has only vis.js and Graphviz as visualiser's and they work :D. Problem is I want time series graph's by plotly (as in playground examples). image

Tried to read documentation, but still missing info if this is normal (for C++ limited debug) or I need manually add additional visualizers

hediet commented 8 months ago

C++ is tricky. Your expression must be a valid JSON string.

Maybe a JS postprocessor could do the trick (not implemented).

Interein2 commented 8 months ago

Hi,

I can see live variables and values in visualiser. But the problem is I cannot change plot type to more suitable for algorithms, e.g. plotly(x,y). Json data are retrieved, but there is no selection to change to another type of graph.

My code is oriented for embedded systems so usually pure C without class or other objects.

2024-01-11, kt 19:45, Henning Dieterichs @.***> rašė:

C++ is tricky. Your expression must be a valid JSON string.

Maybe a JS postprocessor could do the trick (not implemented).

— Reply to this email directly, view it on GitHub https://github.com/hediet/vscode-debug-visualizer/issues/211#issuecomment-1887666580, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJKTE2BLTBZ2OA76AUOXADYOAQLXAVCNFSM6AAAAABBWQW5L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGY3DMNJYGA . You are receiving this because you authored the thread.Message ID: @.***>

yanedge commented 5 months ago

I am seeing this with Python as well. the plotly option is gone and time series data are not displayed properly.

hediet commented 5 months ago

Can you post screenshots?

yanedge commented 5 months ago

this is using the demo.py in your repo. image

yanedge commented 4 months ago

@hediet Any idea what is wrong? I can try to fix if you can give me some pointers. Thanks for awesome work.

gitgithan commented 2 months ago

Similar issue of not being able to change a badly selected chart type. I just wanted to visualize a list of numbers, expecting a line chart with x-axis being auto assigned positions and y-axis being values in list.

It showed a graph instead image