• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Any way to tell if a pointer is an object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Any way to tell if a pointer is an object?
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: tuck a screensaver into a Engine.
  • Next by Date: Re: Any way to tell if a pointer is an object?
  • Previous by thread: Re: tuck a screensaver into a Engine.
  • Next by thread: Re: Any way to tell if a pointer is an object?
  • Index(es):
    • Date
    • Thread