Re: NSAssert no longer displaying reason in console
Re: NSAssert no longer displaying reason in console
- Subject: Re: NSAssert no longer displaying reason in console
- From: Matt Neuburg <email@hidden>
- Date: Wed, 02 Nov 2011 08:32:12 -0700
On Nov 2, 2011, at 1:48 AM, Andreas Grosam wrote:
> I cannot reproduce what you are experiencing
Well, that caused me to do some more testing, and I now suspect that in order to reproduce it you might have to be running Xcode 4.2 on Snow Leopard. Snow Leopard's Xcode seems to have a number of timing issues in its communication with the running executable, and this could be one of them. I really didn't want to be compelled to operate on Lion, but perhaps it's inevitable...
> 2011-11-02 09:26:27.351 AssertTest[1170:f803] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController_iPhone" nib but the view outlet was not set.'
> *** First throw call stack:
> (0x13ba052 0x154bd0a 0x1362a78 0x13629e9 0xd6f0d 0xd73a9 0xd75cb 0x37a73 0x37ce2 0x37ea8 0x3ed9a 0x2e2e 0xf9d6 0x108a6 0x1f743 0x201f8 0x13aa9 0x12a4fa9 0x138e1c5 0x12f3022 0x12f190a 0x12f0db4 0x12f0ccb 0x102a7 0x11a9b 0x2a78 0x29d5)
> terminate called throwing an exceptionCurrent language: auto; currently objective-c
>
Yes, that's the part that isn't appearing on Snow Leopard. It *still* isn't as good as it used to be; on Xcode 4.0, instead of hex addresses, I got an actual call stack in English. m.
--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
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