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 for Converge360.

comments powered by Disqus

Featured

  • .NET for Apache Spark Debuts in Version 1.0

    The open source project .NET for Apache Spark has debuted in version 1.0, finally vaulting the C# and F# programming languages into Big Data first-class citizenship.

  • In-App Reviews Come to Xamarin.Forms Android

    Android is playing a little catch-up to iOS regarding in-app review functionality, just now coming tp Microsoft's Xamarin.Forms implementation.

  • C# Slides in Usage Ranking of Programming Languages

    "The fact that C# lost three places in the ranking of language communities during the last three years is mostly explained by its slower growth compared to C/C++ and PHP."

  • Telerik UI for Blazor Updated

    Progress announced an update to its Telerik UI for Blazor components, targeting Microsoft's open source Blazor framework that lets C# coders create web apps without having to rely upon JavaScript.

  • Infragistics Unveils UI Components for Blazor

    Infragistics, specializing in third-party UI/UX controls and tools, unveiled a new offering targeting Blazor, Microsoft's red-hot open source framework that allows for C#-based web development instead of traditional mainstay JavaScript.

Upcoming Events