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, and I only want to trigger on the unrecognized selector exception, nothing else.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Setting a symbolic breakpoint for
-[NSObject doesNotRecognizeSelector:]should do the trick.In Xcode 4, press
cmd+6to go to the Breakpoint Navigator, then click the+and choose “Add Symbolic Breakpoint…”. Configure.