iOS Crash without Error or Stack Trace

Try reading the registers.

Whenever my app crashes without error, in most cases I have found the exception in the registers.

First go to Exceptions tab and ‘Add Exception Breakpoint’ using the + at the bottom left corner.
enter image description here

Then when the app crashes click on “0 objc_exception_throw” under Thread 1
enter image description here

Finally in the console enter:

  • register read
    (you should get a list of registers)

  • po $rax (normally the exception is in ‘rax’)

    (you should see the exception output on the console)

Hope this helps.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)