Creating breakpoint in Xcode for unrecognized selector

前端 未结 1 637
执笔经年
执笔经年 2020-11-29 21:49

Is it possible to set the breakpoint in Xcode to have the debugger stop only on unrecognized selector?

I have other exceptions that are triggering,

相关标签:
1条回答
  • 2020-11-29 22:10

    Setting a symbolic breakpoint for -[NSObject doesNotRecognizeSelector:] should do the trick.

    In Xcode 4, press cmd+6 to go to the Breakpoint Navigator, then click the +and choose "Add Symbolic Breakpoint…". Configure.

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