Diagnosing hangs
Users report that a certain screen occasionally freezes for about a second, but you can't reproduce it in development. How do you narrow down the cause?
Users report that a certain screen occasionally freezes for about a second, but you can't reproduce it in development. How do you narrow down the cause?
Get real-user stacks from MetricKit's hang diagnostic and the Organizer Hangs report, then find what blocks the main thread (synchronous I/O, locks, semaphore waits) with the Instruments Hangs template and the Thread Performance Checker.
Performance and debuggingShort answerBasics
Reviews of your shipped iOS app say it occasionally stops responding to touch for a few…
#hang #main-thread #metrickit
Performance and debuggingMultiple choiceExpert
Which of these can an app actually receive through MetricKit (MXMetricManager)? Select…
#hang #metrickit
Performance and debuggingShort answerAdvanced
You want to add a feature to your in-house APM that captures a stack whenever the main…
#hang #main-thread
Performance and debuggingMultiple choiceAdvanced
After a certain action the app freezes completely (no input response). Which of these are…
#hang #main-thread