Skip to content

clickable stack trace in java debugger output #798

Description

@mentaloaf

If I am running in the Java debugger and there is an exception, it would be nice if you could command click on a stack trace element to go to that line of the class you clicked on - just like you can when you are compiling and you click on errors that take you to the source of the compile error.

Environment
  • Operating System:
    macOS 10.14.6
  • JDK version:
    13+33
  • Visual Studio Code version:
    1.44.2
  • Java extension version:
  • Java Debugger extension version:
    0.25.1
Steps To Reproduce
  1. Run a Java program in the debugger which throws an exception and causes a stack trace to be printed to the debugger output window

If possible, it would be great for the Java debugger extension to parse output and make each stack trace element for which it has a source path clickable. Not sure how easy detection of stack trace output would be but parsing for *Exception: on one line followed by lots of lines with "at (.java:###)" might catch most instances. Thank for for an awesome integrated Java debugger!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions