DonJayamanne / javaVSCode

Extension for java development on VSCode (deprecated)
https://marketplace.visualstudio.com/items?itemName=donjayamanne.javaDebugger
MIT License
43 stars 29 forks source link

Use JPDA instead of JDB #2

Open felixfbecker opened 8 years ago

felixfbecker commented 8 years ago

JDB is only a reference implementation of JPDA: http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/index.html

The source code of JDB is available here: http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/examples.html

It might make sense to write the debug adapter completely in Java, implement the VSCode Debug Protocol and use the JPDA API.

DonJayamanne commented 8 years ago

Oooooh, will look into this. I'm currently working on the JDB debugger for multi-threaded apps and finishing things up... (very complicated parsing). FYI - Using the JPDA API would definitely be a longer term solution, will start on this asap.

Thanks for the suggestion and the information.