My app got stuck for 15sec and then released, during this period complete UI got frozen and user can't click on anything. Its a production app and not reproducible in debug mode.
Is there any way to log the thread stack trace when app hangs (similar to ANR for Android)?