-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java Source Maps #10435
Comments
Please file this against https://github.com/getsentry/sentry-java |
@untitaker I can do that, but I don't see how sentry-java library can solve this, since this requires direct support of the "core". Or do you just track this kind of issues there knowing this has to be solved in the core? |
I think it's better to keep lang-specific issues in sdk trackers even if they have to be fixed in sentry itself |
@untitaker ok, good to know! :) |
Moved to getsentry/sentry-java#633
Summary
I would like to be able to see sources in stacktraces of java exceptions, the same way they're visible for javascript.
Motivation
This would improve my ability to see the problem in the context of my application.
Additional Context
Sentry java client, should be able to access
classpath
of the running application and build process should be able to provide versions of installed libraries and built artefacts. Combining these two informations, Sentry should be able to render source code of Java. This would allow you to render on at least some frames of the stacktrace (there will always be generated/proxy frames, that will have no "visible" source code available).By uploading correct artifact (with sources) to a release, I should be able fill in the main part - source code of my own application.
And it would be ideal, if fetching "public" maven jars with sources could be a native part of Sentry, since these libraries take up a massive amount of disk storage, and if they would duplicate on each release, this would be unfeasible. Having a shared cache between releases would be ideal.
The text was updated successfully, but these errors were encountered: