getsentry / getsentry/sentry-java

Support Local Variables in stack frames

Đang mở
#4,716 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
Feature Java
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
69

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.