On Mar 4, 2013, at 1:06 PM, Steve Mills <smi...@makemusic.com> wrote:
> It'd really help if I could set a breakpoint on the part of the Obj-C runtime > that spits out the "unrecognized selector" error. None of the usual suspects > handle that. It’s an exception, so use the Xcode breakpoints panel to add an all-exceptions breakpoint: press the + button at the bottom left of the pane, choose “Add Exception Breakpoint”, press “Done” in the bubble that pops up. Now Xcode will stop in the debugger whenever an exception gets raised. (It may not have logged anything about the exception to the console yet, though; some of those messages are logged by the code that _catches_ the exception, which won’t have been reached yet.) IMHO everyone should enable exception breakpoints in all their projects. They are a life-saver for debugging. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com