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

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube