Skip to content

Improve android ANR detection #2446

@imkoi

Description

@imkoi

What problem could Sentry solve that it doesn't?

Recently we face problems with ANRs increase rate on android platform.

During the investigation we enabled ANR detect mechanism in sentry unity SDK and saw that we don't have any stack trace with information regarding ANR.

As we saw in documentation this behavior is expected since we get the stack trace from background thread. Instead, we would request to do mechanism that will work from native part of the sentry and make stack trace dump from all threads including the game thread.

As result we would see ANRs on android same way as we see iOS App Hang events

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions