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}"]
}
]
}
- Enhancements to java debugger (pause and continue, etc)
- Debugging of Multie Threaded apps is possible but very flaky. The debugger could at times hang.
Requirements
- JDK is installed (version 1.7.0 and later)
- Path to jdk is configured in launch.json
Change Log
Version 0.0.2
- Added support for adding and removing breakpoints
- Added support for local variables and arguments (with the ability to expand and view object/property details)
- Added partial support for multi-threaded debugging (still very flaky, due to the use of jdb)
- Added support for console apps (for Windows and Mac)
- Added support for JavaFx
- Added support for Watch window and Evaluating Expressions