Skip to content
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

Closed
fprochazka opened this issue Nov 6, 2018 · 4 comments
Closed

Java Source Maps #10435

fprochazka opened this issue Nov 6, 2018 · 4 comments

Comments

@fprochazka
Copy link

fprochazka commented Nov 6, 2018

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.

@untitaker
Copy link
Member

Please file this against https://github.com/getsentry/sentry-java

@fprochazka
Copy link
Author

fprochazka commented Nov 6, 2018

@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?

getsentry/sentry-java#633

@untitaker
Copy link
Member

I think it's better to keep lang-specific issues in sdk trackers even if they have to be fixed in sentry itself

@fprochazka
Copy link
Author

@untitaker ok, good to know! :)

@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants