Break on EXC_BAD_ACCESS in Xcode?

后端 未结 10 2155
北恋
北恋 2020-11-27 03:14

I\'m new to iPhone development and Xcode in general and have no idea how to begin troubleshooting an EXC_BAD_ACCESS signal. How can I get Xcode to break at the

10条回答
  •  囚心锁ツ
    2020-11-27 03:25

    Another helpful approach is set breakpoints that will trigger directly after the exception occurs:

    Open the breakpoints window (Run – Show – Breakpoints) and add two symbolic breakpoints called “objc_exception_throw” and “[NSException raise]"

    From: http://blog.emmerinc.be/index.php/2009/03/19/break-on-exception-in-xcode/

提交回复
热议问题