Skip to content

[Feature Request] Standalone "Java Stack Trace Console" (paste-and-navigate stack traces, independent of an active debug session) #1654

Description

@SougandhS

Developers frequently receive Java stack traces from log files, CI failures, bug reports, chat messages, and production logs. Eclipse JDT has a "Java Stack Trace Console" — you paste any Java stack trace into it (from a log file, CI, a bug report, etc.) and each frame becomes a clickable link that jumps to the source line. It works without a running debug session.

VS Code doesn't have this today. The closest existing request, #506, only covers stack traces printed live in the Debug Console during an active session — it doesn't help when you just have a trace from somewhere else and want to navigate it.

The main challenge is resolving a class name to the right source file (multiple projects with same-named classes, inner classes, lambdas, etc.). Eclipse already solves this in JavaStackTraceHyperlink.java

Related to eclipse-jdtls/eclipse.jdt.ls#3834

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions