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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to