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.
Breaking on unrecognized selector
Asked Answered
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:
Awesome, thanks. I was under the impression I had set this correctly, but I accidentally had Break set to 'On Catch'. –
Furniture
the + is at the bottom - this is useful to point out since its not intutively obvious –
Everybody
© 2022 - 2024 — McMap. All rights reserved.