{"id":14625,"date":"2017-10-23T10:00:55","date_gmt":"2017-10-23T17:00:55","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=14625"},"modified":"2017-10-23T10:00:55","modified_gmt":"2017-10-23T17:00:55","slug":"open-sourcing-the-java-debugger-for-visual-studio-code","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/java\/open-sourcing-the-java-debugger-for-visual-studio-code\/","title":{"rendered":"Open Sourcing the Java Debugger for Visual Studio Code"},"content":{"rendered":"<p>Since we first released our <a href=\"https:\/\/code.visualstudio.com\/blogs\/2017\/09\/28\/java-debug\">Java Debugger extension for Visual Studio Code<\/a> on September 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. In this quick follow up release, we\u2019re open sourcing both our <a href=\"https:\/\/github.com\/Microsoft\/vscode-java-debug\">Java Debugger Extension<\/a> as well as the backend <a href=\"https:\/\/github.com\/Microsoft\/java-debug\">Java Debug Server<\/a>, along with publishing a few feature improvements and bug fixes. Please try our latest Java debugger extension and make Visual Studio Code a better place for Java developers together.<\/p>\n<h2>No need to specify main class anymore<\/h2>\n<p>We have added a new feature to automatically resolve main class of the project, you no longer need to fill these values manually.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/ResolveMain.gif\" rel=\"noopener noreferrer\"><img decoding=\"async\" title=\"Resolve Main Class\" alt=\"Resolve Main Class\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2017\/10\/ResolveMain.gif\" width=\"748\" height=\"428\" class=\"\" \/><\/a><\/p>\n<h2>Fully supported external source files<\/h2>\n<p>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.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/Open-Sourcing-Java-Debugger-for-Visual-Studio-Code-External-Source.gif\" rel=\"noopener noreferrer\"><img decoding=\"async\" title=\"External Source\" alt=\"External Source\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2017\/10\/Open-Sourcing-Java-Debugger-for-Visual-Studio-Code-External-Source.gif\" width=\"749\" height=\"455\" class=\"\" \/><\/a><\/p>\n<h2>Other changes<\/h2>\n<p>This new release also includes the following updates<\/p>\n<ol>\n<li>We have adopted to the new Visual Studio Code Debug protocol.<\/li>\n<li>This latest release displays stackframe name with format ClassName.MethodName(ParameterList).<\/li>\n<li>There are improvements in the call stack display info for files without sources.<\/li>\n<li>Bug fixes.<\/li>\n<\/ol>\n<p>You can find more details in our <a href=\"https:\/\/github.com\/Microsoft\/vscode-java-debug\/blob\/master\/CHANGELOG.md\">changelog<\/a>.<\/p>\n<h2>Try it out<\/h2>\n<p>If you\u2019re trying to find a performant editor for your Java project, please try this extension and let us know what you think.<\/p>\n<ul>\n<li>Install and try the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=vscjava.vscode-java-debug\">Java Extension Pack<\/a> for Visual Studio Code.<\/li>\n<li>Check out the new open sourced <a href=\"https:\/\/github.com\/Microsoft\/vscode-java-debug\">Java Debugger Extension<\/a> and <a href=\"https:\/\/github.com\/Microsoft\/java-debug\">Java Debug Server<\/a> repositories.<\/li>\n<li>Learn more about <a href=\"https:\/\/code.visualstudio.com\/docs\/languages\/java\">Java on Visual Studio Code<\/a>.<\/li>\n<li>You can submit a bug or feature request to <a href=\"https:\/\/github.com\/Microsoft\/vscode-java-debug\/issues\">Java Debugger Extension<\/a> and participant community driven <a href=\"https:\/\/microsoft.sharepoint.com\/teams\/dd_vsblog\/Blog Post Drafts\/(https:\/gitter.im\/Microsoft\/vscode-java-debug)\">Gitter<\/a> channel for discussion.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Since we first released our Java Debugger extension for Visual Studio Code on September 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. In this quick follow up release, we\u2019re open sourcing both our [&hellip;]<\/p>\n","protected":false},"author":668,"featured_media":227205,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[8],"tags":[4,7,12],"class_list":["post-14625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","tag-extensions","tag-open-source","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Since we first released our Java Debugger extension for Visual Studio Code on September 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. In this quick follow up release, we\u2019re open sourcing both our [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts\/14625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/comments?post=14625"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts\/14625\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/media\/227205"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/media?parent=14625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/categories?post=14625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/tags?post=14625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}