getsentry / getsentry/sentry-java

Support Local Variables in stack frames

Abierto
#4,716 5 comentarios 1 reacción 0 asignados Ver en GitHub
Feature Java
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 22 h
PR fusionados (30 d)
69

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.