• 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: Will a breakpoint on objc_exception_throw stop on @throw?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Will a breakpoint on objc_exception_throw stop on @throw?


  • Subject: Re: Will a breakpoint on objc_exception_throw stop on @throw?
  • From: Scott Ellsworth <email@hidden>
  • Date: Tue, 11 Jul 2006 15:35:11 -0700


On Jul 11, 2006, at 3:16 PM, Chris Suter wrote:


On 12/07/2006, at 8:04 AM, Scott Ellsworth wrote:

Are people using objective C exceptions, and is the debugger stopping on them for you?

Are you sure that's for the exception you threw? It could be you're stopping on a different exception (that may well be caught and handled).

A good suggestion. Not the problem, as it turns out, but it got me to recheck the obvious, and something I Knew Was So, turned out not to be.


In other words, pilot error.

My gdbinit file had contained:

fb -[NSException raise]
fb objc_exception_throw()

Rather than:

fb -[NSException raise]
fb objc_exception_throw

I had looked that over, and checked numerous sources, but the proof is in what works.

Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Will a breakpoint on objc_exception_throw stop on @throw? (From: Scott Ellsworth <email@hidden>)
 >Re: Will a breakpoint on objc_exception_throw stop on @throw? (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Best way to discover resource forks?
  • Next by Date: Re: list of invar names
  • Previous by thread: Re: Will a breakpoint on objc_exception_throw stop on @throw?
  • Next by thread: Getting added object with KVO
  • Index(es):
    • Date
    • Thread