Re: __PRETTY_FUNCTION__.219635
Re: __PRETTY_FUNCTION__.219635
- Subject: Re: __PRETTY_FUNCTION__.219635
- From: Steve Sisak <email@hidden>
- Date: Sat, 24 Dec 2011 08:33:33 -0500
At 12:11 PM +0000 12/24/11, Peter Hudson wrote:
I have been making a few ( trivial ) changes to some code and when
the app runs it grinds to a halt with an
Objective-c exception and the next to last item on my stack is
__PRETTY_FUNCTION__.219635
IIRC, you'll get an exception if you accidentally use
__PRETTY_FUNCTION__ in C function and maybe in a class (+) method
(i.e. copy an NSLog call).
I got bit by this once and fact I got a runtime exception rather than
a compile error was a complete surprise to me.
HTH,
-Steve
_______________________________________________
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