The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).
Перейти к файлу
Jinbo Wang 7328c67c02
Validate mainClass and projectName configs (#205)
* Validate mainClass and projectName configs

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Update ValidationResult scheme

* Revert 'errorMessage' to a neutral name 'message' for ValidationResult

* Only report not unique validation error when projectName is not specified

* Ignore mainClass validation when the user specified the classpaths manually

* Use Object.equals to compare two strings
2018-08-28 11:16:09 +08:00
.mvn/wrapper add .travis.yml and maven wrapper (#19) 2017-09-14 10:42:38 +08:00
.vscode debugger configuration for debugger itself (#37) 2017-09-20 15:21:21 +08:00
com.microsoft.java.debug.core 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
com.microsoft.java.debug.plugin Validate mainClass and projectName configs (#205) 2018-08-28 11:16:09 +08:00
com.microsoft.java.debug.repository 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
com.microsoft.java.debug.test/project/4.variable/src/main/java add unit test framework to use jdi to test formatters and lru cache etc. (#35) 2017-09-20 12:49:41 +08:00
.gitignore Add eclipse settings. (#181) 2018-06-05 13:04:33 +08:00
.project 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
.travis.yml upgrade to latest eclipse version: photon (#194) 2018-08-01 15:47:11 +08:00
LICENSE.txt 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
README.md Update EPL license. (#70) 2017-10-11 09:25:24 +08:00
check_style.xml 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
java.debug.target 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
javaProject.json 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
microsoft.header rename package from eclipse to microsoft (#4) 2017-09-08 14:23:10 +08:00
mvnw add .travis.yml and maven wrapper (#19) 2017-09-14 10:42:38 +08:00
mvnw.cmd 1. add user error in DebugException (#208) 2018-08-22 19:55:19 +08:00
pom.xml Bump version to 0.11.0 (#195) 2018-08-01 15:54:55 +08:00

README.md

Java Debug Server for Visual Studio Code

Overview

The Java Debug Server is an implementation of Visual Studio Code (VSCode) Debug Protocol. It can be used in Visual Studio Code to debug Java programs.

Features

  • Launch/Attach
  • Breakpoints
  • Exceptions
  • Pause & Continue
  • Step In/Out/Over
  • Variables
  • Callstacks
  • Threads
  • Debug console

Background

The Java Debug Server is the bridge between VSCode and JVM. The implementation is based on JDI (Java Debug Interface). It works with Eclipse JDT Language Server as an add-on to provide debug functionalities.

Repository Structure

  • com.microsoft.java.debug.core - the core logic of the debug server
  • com.microsoft.java.debug.plugin - wraps the debug server into an Eclipse plugin to work with Eclipse JDT Language Server

License

EPL 1.0, See LICENSE file.