News

Microsoft Continues to Improve Java Debugger for VS Code Editor

Microsoft continues to improve its Java debugger for the Visual Studio Code editor, issuing the fifth update in just the past three months.

The company on Monday announced version 0.5.0 of the Debugger for Java extension, featuring improved expression evaluation and a step filter capability for bypassing certain types or classes when stepping through code.

"The debugger now enables you to evaluate expressions in variable watch window as well as debug console at runtime," Microsoft said. "So now you can see the value of both the simple variables, single-line expressions, as well as short code fragments within the running context. You can then monitor and validate the change of the value when your code is being executed."

The step filter functionality, meanwhile, lets developers indicate code they want to skip in the debugging step-through process. For example, in the launch.json file, developers can indicate types of code they want to skip, plugging in values such as "java.*", "com.sun.*" and so on.

Less significant updates include:

  • Publishing the binaries to the maven central repository
  • Adopting new Visual Studio Code 1.19.0 debug activation events
  • Improving searching performance by looking up the stack frame’s associated source file from source containers directly instead of leveraging the original jdt search engine
  • Bug fixes

The extension, still in preview, builds on the Language Support for Java by Red Hat extension (downloaded more than 2 million times) to provide debugging functionality for Java jockeys who work with VS Code.

"For Java developers on Visual Studio Code, the Language Support for Java by Red Hat extension has been great for providing language features such as IntelliSense and project support," Microsoft's Xiaokai He said when the tool was announced. "At the same time, we've also heard feedback that users would also like Java debugging."

The debugger extension provides the following features:

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

Available in the Visual Studio Code Marketplace, the Debugger for Java extension has been installed nearly 444,000 times, earning a perfect 5.0 rating from 11 reviewers. Microsoft open sourced the tool last year.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Full-Stack with a Side of Copilot: Building and Deploying an App the AI-Accelerated Way

    In this Q&A, developer and VSLive! speaker Esteban Garcia explains how GitHub Copilot can accelerate the full software development lifecycle -- from architecture and code to tests, CI/CD, and Azure deployment -- and how to use it as a repeatable engineering workflow rather than just a faster autocomplete tool.

  • VS Code 1.127 Further Integrates Advanced Browser-AI Tech

    Microsoft's July 1 Visual Studio Code update continues a recent push to make the editor's integrated browser a more capable development surface -- and a more useful tool for AI agents.

  • Support Vector Regression with SGD Training Using C#

    Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.

  • New GitHub Switch Limits Repo Issue Creation to Collaborators Only

    After publicly touting pull request limits as a way to cut maintainer noise, GitHub is taking the same idea further with a new setting that lets repository admins restrict issue creation to collaborators only.

Subscribe on YouTube