Comments (21)
I will improve the documentation in the next few months, but currently I'm very busy.
Your Java expressions must evaluate to JSON that can be visualized. See the readme for the format of that json!
I will also see whether I can make it running in Eclipse Theia.
from vscode-debug-visualizer.
Can you provide more details? Were you able to debug your project in VS Code?
from vscode-debug-visualizer.
I actually only installed your plugin, ran debug
from vscode-debug-visualizer.
You can find a java demo project here.
from vscode-debug-visualizer.
Not sure How to use the debugger / demo to get it to work. Sorry noob here.
from vscode-debug-visualizer.
You just open the demo
project in VS Code, go the debug pane and select java:
from vscode-debug-visualizer.
But to use it on a new non related project ? What would I have to do to get this to wok
from vscode-debug-visualizer.
Well, first you need to be able to debug your program in VS Code. See here for help.
Only then my extension can be helpful.
from vscode-debug-visualizer.
I don't get the selection you do for Run & Debug
This is more or less what im working with
from vscode-debug-visualizer.
Ah, you need to open the demo folder in vscode, not the project root folder! Then you get different debug targets.
from vscode-debug-visualizer.
Got the Demo to pop up , Debug Visualizer is empty however
from vscode-debug-visualizer.
Can you upload a step by step instruction ? or Gif with full process @hediet
from vscode-debug-visualizer.
I'm working on it!
from vscode-debug-visualizer.
Thank you!
from vscode-debug-visualizer.
@HeIp it can be slightly challenging to get the java demo to work, but I was able to get it to work. What i did was, I created a new maven / java project in Eclipse, using the spring boot blank project
template. I only did so because I know that springboot includes the necessary jars as used by the demo codes. Then I copied all the files from the demo/java directory over, then I fixed the package names of those files as per what I've created in Eclipse, and check that this project builds. Then I closed eclipse, and opened that directory as created by Eclipse in Visual Studio Code. Do ensure that the Microsoft Java Extension Pack
extension is installed.
Then I ensure that I have these in the launch.json
. And I ran that debug task as stated below, and it works as per the screenshot.
{ "version": "0.2.0", "configurations": [ { "type": "java", "name": "Debug App<app>", "request": "launch", "mainClass": "company.app.App", "projectName": "app" }, ] }
Thank you @hediet for making this extension, it's really useful. I can't wait to see this continue to get better and better..
from vscode-debug-visualizer.
@briscola thanks! Though it shouldn't be that hard to get the Java demo running. I'll investigate that! Simply installing the Java SDK, the Java vscode extension and pressing F5 after opening the Java demo should be enough.
from vscode-debug-visualizer.
Can anyone make a Tutorial Video for the Java one :) , no dice on my side
from vscode-debug-visualizer.
Hello @hediet ,
i'm trying the same thing with java and your VS extension.
I have 2 goals in mind:
-
I need to find out how to run your debugger with java in VS Code. At the time i'm getting weird output when trying to debug with Debugger View open. It shows the value of the variable. If i'm doing something wrong, i would appreciate it if you could show me the right direction.
-
I want to add your VS extension into Eclipse Che IDE. I've already managed to add it to my browser IDE, but it's not showing anything so far. If i could get at least VSC to run with java, maybe i could try the same in my browser IDE.
from vscode-debug-visualizer.
@hediet thanks for the response. I would appreciate if you could update the link to demo projects, because current link is broken.
from vscode-debug-visualizer.
Hey, sorry for the delay.
You can find one java demo project here: https://github.com/hediet/vscode-debug-visualizer/tree/master/demos/java
Another here: 3330fc3
from vscode-debug-visualizer.
Hi, I'm trying to figure out how to run the extension using Java, and whenever I open the debugger and change the top-left part to the "JavaScript Debug Terminal" option or the "Node.js" option, both say "Shell integration failed to activate" in the box to the right of the terminal. I'm not even getting the window that others are getting that says "No Expression" in the center.
I tried going to the Java demo that you linked as well, but I can't seem to find a download button on that page. Wondering if there has been a change and that the Java compatability is using other files now? And where does the "Debug Visualizer : New Viewer" command go?
from vscode-debug-visualizer.
Related Issues (20)
- 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 HOT 1
- 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 13
- Unable to show geometries data HOT 2
- Short choice of visualisers HOT 7
- How do you visualize an array as like a literal table, rather than a graph? HOT 1
- Version bump
- Python Visualizer is cluttered
- Unable to get the grid visualisation in python demo HOT 1
- Error: Could not parse evaluation result as JSON: Unexpected token 'U', "Usage: -Us"... is not valid JSON HOT 1
- Error: Vizualising the json of C++ graph view is failing HOT 5
- Visualizer is displaying some type of object structure rather than a visual representation of that object
- cortex debug,
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.