Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Breaking on [NSException raise]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking on [NSException raise]




On 平成 19/10/28, at 11:09, Tony Cate wrote:

In previous versions of xCode, execution would stop at the line of an error. So far I can't figure out how to make that happen with version 3. I'm hunting an error where a dictionary or array count is failing because it's now a string... I'd rather not put a break point on every instance of [object count]. Any pointers?

Put your breakpoint on "objc_exception_throw", all objc exceptions now go through this function, regardless of whether they are thrown with - raise or @throw.



-- Clark S. Cox III email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Breaking on [NSException raise] (From: Tony Cate <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.