Re: Implicit @try/@catch?
Re: Implicit @try/@catch?
- Subject: Re: Implicit @try/@catch?
- From: Jens Alfke <email@hidden>
- Date: Tue, 10 Nov 2009 20:49:31 -0800
On Nov 10, 2009, at 8:44 PM, Jim Kang wrote:
> I ran some code that apparently threw an exception of sorts, but it was
> "caught" without any code explicit @catch block. It was like this:
Weird — I don't know of anything that would cause that. Is this a Release build? The code optimization/reordering can confuse gdb and make it step in funny orders.
> When I stepped through it, a sort of exception was thrown at the call to
> methodSignatureForSelector (it didn't like that the selector had an argument
> that was a raw pointer instead of an id or pointer to an Objective-C
> object).
Unless I'm misunderstanding, that shouldn't throw an exception. What's the evidence that an exception was thrown?
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden