Comments (7)
Let me try for doing this feature.
from vscode-debug-visualizer.
Im curious about where are the other visualizers. im interested in doing this but I dont know where to start
from vscode-debug-visualizer.
Awesome ;) You can find them here. Reach out if you have questions!
from vscode-debug-visualizer.
I just added some documentation here.
from vscode-debug-visualizer.
@hediet Is this still relevant since there is already the grid visualization?
from vscode-debug-visualizer.
I think the grid visualization might suffer from performance for large matrices.
But yeah, the grid visualizer might be a replacement for this.
from vscode-debug-visualizer.
+1 for the open issue/the feature request of 'grid visualizer'.
Specifically my problem:
While trying to visualize a 2d np array (shape 80x75). I run into error
Could not parse evaluation result as JSON: Unexpected token ' in JSON,,,, ,,,,Used debug adapter: python.
Taking a hint from #82, if I try visualize(str(variable_name))
though, it outputs a string like the following
[[0.00093501 0.00093501 0.00093501 ... 0.00170146 0.00170146 0.00170146]
[0.00093501 0.00093501 0.00093501 ... 0.00170146 0.00170146 0.00170146]
[0.00093501 0.00093501 0.00093501 ... 0.00170146 0.00170146 0.00170146]
...
[0.00451131 0.00451131 0.00451131 ... 0.02732074 0.02732074 0.02732074]
[0.00451131 0.00451131 0.00451131 ... 0.02732074 0.02732074 0.02732074]
[0.00451131 0.00451131 0.00451131 ... 0.02732074 0.02732074 0.02732074]]
which is good (a little better, that at least there is no error), but it has a number of '...'., as you can see above.
Is it not possible to visualize the matrix directly using some kind of a colour map? Running visualize(variable_name[:10])
works (no error) but results in 10 line plots overlayed on top of one another, not a color map grid visualization. Kindly advise.
A related perhaps a separate issue, taking a hint from #82 I ran visualize(str(variable_name))
above, but I cannot run np.array(str(variable_name))
the errior I see in the visualizer is NameError: name 'np' is not defined
, nor can I pass to visualize() import numpy as np; np.array(str(variable_name))
.
from vscode-debug-visualizer.
Related Issues (20)
- debug visualizer doesn't get frame id correctly when selecting frame from call stack
- Is Deno not supported as a debugging runtime environment?
- Use with jupyter kernel
- Unable to run debug visualizer HOT 4
- data extractor help HOT 2
- Failed to visualize with Swift Demo,= ~~~
- Can you support idea plugIn
- CPP does not wqork HOT 1
- Missing support for "gdb" debug adapter
- https://github.com/hediet/vscode-debug-visualizer
- Visualization in python
- Publish `Debug Visualizer` to Open VSX
- Overcome python debug adapter's string truncation limit HOT 10
- Please create and example in C
- Is not working for dart language
- No able to run Debug visualizer
- `yarn build` fails on most recent commit HOT 2
- C# debugger has a very low (1024 chars) JSON length limit HOT 12
- Unable to show geometries data HOT 2
- Short choice of visualisers HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-debug-visualizer.