NSSetUncaughtExceptionHandler not catch all errors on iPhone

前端 未结 2 651
自闭症患者
自闭症患者 2020-12-04 18:24

I\'m using GTMStackTrace from http://code.google.com/p/google-toolbox-for-mac.

I need a way to test end-user to send me errors when the app crash. I know how send d

相关标签:
2条回答
  • 2020-12-04 19:11

    EXC_BAD_ACCESS doesn't generate an exception, it generates a signal (SIGSEGV). To catch it, you need a signal handler. Christopher Atlan wrote a nice explanation of how to handle both kinds of crashes. Be sure to read both part 1 and part 2.

    0 讨论(0)
  • 2020-12-04 19:17

    if anyone is still dealing with this problem and can't work it out even with SIGSEGV see my post ... EXC_BAD_ACCESS automatic handling

    0 讨论(0)
提交回复
热议问题