sentry-cocoa
sentry-cocoa copied to clipboard
Support more than 70 threads for App Hangs
Description
App Hangs are ignored if there is more than 70 threads running in the app. We should either investigate a way to make it work with more than 100 threads or at least symbolicate only the main thread and not ditch the entire event.
The first introduction to app hang reports had no limit but was crashing with too many threads. We change this behavior in this PR.
Instead of ignoring the app hang we could suspend the first 70 threads to capture the stack trace, and adding the other threads without stacktrace the same way a normal event do.