Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSAssert no longer displaying reason in console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAssert no longer displaying reason in console



On 24 Oct 2011, at 3:53 pm, Matt Neuburg wrote:

> That's all! Dude, where's my reason? And without a printing of the reason, what's the good of the assert? (And hey, I wouldn't mind seeing that lovely call stack, too.)

Exceptions don't get logged automatically anymore when running under iOS 5, in my experience.  I've had to manually add breakpoint actions of "po $eax" and "po $r0"  on "objc_exception_throw" and "-[NSException raise]" to deal with this problem.

-b

--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca


_______________________________________________

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: 
 >NSAssert no longer displaying reason in console (From: Matt Neuburg <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.