Showing results for 
Show  only  | Search instead for 
Did you mean: 
Dynatrace Advisor
Dynatrace Advisor

In most cases for iOS, the crashes and session replay are not captured because of the debugger attached to the build. In this case, the debugger hooks and catches the crashes causing all crash handlers to not work properly. 

If you have the debug logging enabled for iOS you should be able to see a warning from the logs:

Screenshot 2023-02-06 at 4.50.10 pm.png


If you see this message then you need to detach the debugger. By following the steps below:

1. In Xcode, go to "Edit Scheme" under your project target.
Screenshot 2023-02-06 at 4.42.54 pm.png
2. Uncheck "Debug executable"
Screenshot 2023-02-06 at 4.43.45 pm.png

3. Clean and build the application before running in simulator/device.

You can also detach the debugger on a per-run basis. This way you do not need to remove it from the scheme and just detach it for the current run. 

detach debugger.png
Version history
Last update:
‎19 Dec 2023 04:06 PM
Updated by:
DynaMight Legend
DynaMight Legend

Thank you for Sharing this!