Microsoft upgrades and open sources Java debugger for Visual Studio Code
After receiving numerous constructive feedback and suggestions from Java developers, Microsoft has open sourced the Java debugger extension for Visual Studio Code and backend Java Debug Server along with accumulating some feature improvements and bug fixes.
On the Visual Studio Code Marketplace, the Java debugger extension has been installed over 56,000 times and has received a perfect 5.0 rating from seven developers.
A new feature added to the tool will allow developers to automatically resolve main class of the project. Earlier the values were to be entered manually. With the fully supported external source files feature, developers can also debug with third-party classes, when the source code is inside a JAR or a source attachment. It also allows setting breakpoint in those classes ahead of debugging.
Xiaokai He, program manager, Java Tools and Services, said: "With this feature, you can now also debug with third-party classes, when the source code is inside a JAR or a source attachment. And you can also set breakpoint in those classes ahead of debugging."
Some other features accumulated in the Java debugger are: adoption to the new Visual Studio Code Debug protocol; exhibition of stackframe name with format ClassName.MethodName(ParameterList); developments in the call stack display info for files without sources and bug fixes.
He added: "Since we first released our Java debugger extension for Visual Studio Code on Sept. 28, it quickly became the most trending extension of the month. And of course, lots of feedback and suggestions were submitted from our active developer community. You shared, we listened."
You can find out more here.