getsentry / getsentry/sentry-java

Support Local Variables in stack frames

Ouverte
#4,716 5 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Feature Java
Langage dominant
Kotlin
Étoiles
1.4k
Forks
478
Merge moyen
2 j 23 h
PR mergées (30 j)
67

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.