getsentry / getsentry/sentry-java

Support Local Variables in stack frames

Offen
#4,716 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Feature Java
Vorherrschende Sprache
Kotlin
Sterne
1.4k
Forks
478
Ø Merge
2 T. 22 Std.
Gemergte PRs (30 T.)
69

Beschreibung

### Problem Statement

I looked around fro local variable support in the Java integration but didn't find it.

I see there was some small level of support added recently at https://github.com/getsentry/sentry-java/pull/4686 but I don't see how to utilize that in a server-side Java/Kotlin process (in my case, a GRPC server in vanilla Kotlin on the AWS Corretto 17 JVM).

### Solution Brainstorm

Coming from Rollbar, they were able to get local variables from a stack trace using a [native agent](https://github.com/rollbar/rollbar-java/tree/6a72e7b9b8c697d6f235388582baa1e348b3207e/native-agent). That might be the best hook point for obtaining this data.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.