-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Thread info is not present with 3.1.0 (Android-ANR) #984
Comments
thanks for raising this, would you mind to try again but enabling |
this should have done the job: sentry-java/sentry-android-core/src/main/java/io/sentry/android/core/ApplicationNotResponding.java Line 24 in 5ebd49c
I mean it does, but it doesn't look like having the whole stack traces or it's reporting the capturing thread but not the UI one. |
@ItsReddi this config is not available on the manifest config. you need to: https://docs.sentry.io/platforms/android/usage/advanced-usage/#manual-instrumentation |
I can confirm it works with |
thanks, @ItsReddi we'll be looking into it, this flag should not have interfered in the ANR threads/stack traces if I am guessing it right. |
Allright, but it would now add the thread info to any Event, also Exceptions, custom errors if i understand the Any way to enable that only for ANR? |
true, this was enabled by default on sentry-android v2 anyway, so it's not really a problem to send all the threads info, the thing is, most of them are not useful for you to debug the issue. unfortunately, it's not possible to enable only for ANR, this would be the bugfix, what you can do is, to use the |
just tested it out, https://github.com/getsentry/sentry-java/releases/tag/4.0.0-alpha.2 should give you stack traces of the main thread ootb, no need for Thanks for reporting :) |
Platform:
IDE:
Build system:
Sentry Android Gradle Plugin:
Proguard/R8:
The version of the SDK:
3.1.0
I have the following issue:
After upgrading from
2.3.2
to3.1.0
ANR reports do not include any thread informations.Steps to reproduce:
Result:
![grafik](https://user-images.githubusercontent.com/3147888/96109995-90840880-0edf-11eb-8c91-a7c9988dacd5.png)
3.1.0
Result:
The text was updated successfully, but these errors were encountered: