Any way to tell if a pointer is an object?
Any way to tell if a pointer is an object?
- Subject: Any way to tell if a pointer is an object?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 24 Feb 2007 20:19:54 -0800
- Thread-topic: Any way to tell if a pointer is an object?
When debugging, sometimes I get a pointer that may or may point to an
object. I would like to know what it is. If I send a message such as
-description to it, and my app crashes, I conclude that, "Gee, I guess it
does not point an object".
Is there a less destructive and more satisfying way to find out whether or
not an arbitrary pointer points to an object?
Thanks,
Jerry Krinock
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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