Code Monkey home page Code Monkey logo

Comments (21)

hediet avatar hediet commented on April 28, 2024 1

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.

hediet avatar hediet commented on April 28, 2024

Can you provide more details? Were you able to debug your project in VS Code?

from vscode-debug-visualizer.

HeIp avatar HeIp commented on April 28, 2024

I actually only installed your plugin, ran debug
image

from vscode-debug-visualizer.

hediet avatar hediet commented on April 28, 2024

You can find a java demo project here.

from vscode-debug-visualizer.

HeIp avatar HeIp commented on April 28, 2024

Not sure How to use the debugger / demo to get it to work. Sorry noob here.

from vscode-debug-visualizer.

hediet avatar hediet commented on April 28, 2024

You just open the demo project in VS Code, go the debug pane and select java:
image

from vscode-debug-visualizer.

HeIp avatar HeIp commented on April 28, 2024

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.

hediet avatar hediet commented on April 28, 2024

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.

HeIp avatar HeIp commented on April 28, 2024

image
I don't get the selection you do for Run & Debug
This is more or less what im working with

from vscode-debug-visualizer.

hediet avatar hediet commented on April 28, 2024

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.

HeIp avatar HeIp commented on April 28, 2024

Got the Demo to pop up , Debug Visualizer is empty however
image

from vscode-debug-visualizer.

HeIp avatar HeIp commented on April 28, 2024

Can you upload a step by step instruction ? or Gif with full process @hediet

from vscode-debug-visualizer.

hediet avatar hediet commented on April 28, 2024

I'm working on it!

from vscode-debug-visualizer.

HeIp avatar HeIp commented on April 28, 2024

Thank you!

from vscode-debug-visualizer.

briscola avatar briscola commented on April 28, 2024

@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.

hediet avatar hediet commented on April 28, 2024

@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.

HeIp avatar HeIp commented on April 28, 2024

Can anyone make a Tutorial Video for the Java one :) , no dice on my side

from vscode-debug-visualizer.

erlansan avatar erlansan commented on April 28, 2024

Hello @hediet ,
i'm trying the same thing with java and your VS extension.
I have 2 goals in mind:

  1. 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.
    image

  2. 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.

erlansan avatar erlansan commented on April 28, 2024

@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.

hediet avatar hediet commented on April 28, 2024

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.

queakie24 avatar queakie24 commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.