Breaking on unrecognized selector
问题 Is it possible to set a break point on this bit of feedback in the console? This would make handling this problem so much easier. 回答1: Unrecognized selector is an exception, and you can set a breakpoint on exceptions. In Xcode 4, go to the breakpoint navigator, click the +, and choose "Add Exception Breakpoint". Under Exception, choose Objective-C. Under Break, choose On Throw. It should look like this when you're done: 来源: https://stackoverflow.com/questions/7354169/breaking-on-unrecognized