dyoun / javaVSCode

Extension for java development on VSCode

Home Page:https://marketplace.visualstudio.com/items?itemName=donjayamanne.javaDebugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Debugger

Local variables, arguments, stack trace, step through, partial support for JavaFX, expanding values (Objects, Arrays) etc.

Once installed, do remember to configure the JDK Path (in launch.json, else jdk path is assumed to be in the current path) Ensure to compile the source code with debug symbols.

E.g. configure the tasks.json file as follows and use run the build task. (note: if there are no errors displayed in the 'Tasks' output window, then there are no errors)

{
    "version": "0.1.0",
    "command": "javac",
    "isShellCommand": true,
    "showOutput": "always",
    "isWatching": true,
    "suppressTaskName": true,
    "tasks": [
        {
            "taskName": "build",
            "args": ["-g", "${file}"]
        }
    ]
}

##Issues and Feature Requests

  • Enhancements to java debugger (pause and continue, etc)
  • Debugging of Multie Threaded apps is possible but very flaky. The debugger could at times hang.

Image of Debugging Image of JavaFx Image of Loop

Requirements

  • JDK is installed (version 1.7.0 and later)
  • Path to jdk is configured in launch.json

Version 0.1.0 (5 February 2017)

  • Add support for Maven #25
  • Add preliminary support for remote debugging #24
  • Add ability to define (source) path to JDB #23

Thanks

Source

Github

License

MIT

About

Extension for java development on VSCode

https://marketplace.visualstudio.com/items?itemName=donjayamanne.javaDebugger

License:MIT License


Languages

Language:TypeScript 100.0%