Re: What's the easiest way to break on an Obj-C exception?
Re: What's the easiest way to break on an Obj-C exception?
- Subject: Re: What's the easiest way to break on an Obj-C exception?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 15 Nov 2007 01:17:21 -0700
On Nov 14, 2007, at 10:20 PM, Rick Mann wrote:
How can I get Xcode to stop on exceptions in my Cocoa app? I heard
something about setting a breakpoint in some magical method, but why
isn't there a menu item to turn this modality on?
If you're using Leopard, then break on objc_exception_throw.
If you're using Tiger or earlier, then you have to break on both -
[NSException raise] and objc_exception_throw.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden