• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implicit @try/@catch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Implicit @try/@catch? (From: Jim Kang <email@hidden>)

  • Prev by Date: Re: Obtaining selected text from the frontmost application
  • Next by Date: Re: EXC_BAD_ACCESS mystery
  • Previous by thread: Implicit @try/@catch?
  • Next by thread: Re: Implicit @try/@catch?
  • Index(es):
    • Date
    • Thread