Re: Will a breakpoint on objc_exception_throw stop on @throw?
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