getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.11k stars 427 forks source link

Android profiler causes ANR #3429

Open stefanosiano opened 1 month ago

stefanosiano commented 1 month ago

Description

There's not much we can do, but this was reported (happening very rarely) through the SDK console and Notion, so I'm creating an issue here. Maybe we can find some hint on how to work around it in the Play console

markushi commented 2 weeks ago

Let's try to offload Debug.startMethodTracingSampling onto a background thread. Also let's check what happens for very short transactions.