• 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
Re: test if a pointer is pointing to a valid object or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test if a pointer is pointing to a valid object or not?


  • Subject: Re: test if a pointer is pointing to a valid object or not?
  • From: p3consulting <email@hidden>
  • Date: Wed, 29 Oct 2003 20:00:33 +0100

*Much* better just to avoid the situation. Pascal's code (and comments) aren't 100% reliable if you're debugging, and certainly aren't the sort of thing you'd want in a shipping application. (No offence intended, Pascal).



Sure, everything I posted in this threat was strictly related to and limited to debugging
and could be useful in situation such as a beta tester reports a crash you can't reproduce at "home", adding code testing validity of object pointers at specific points in the code may help finding out the problem and produce some reporting more usefull than just a crash report
You don't need it if you can reproduce a bug when running on your development machine

Pascal Pochet
P3 Consulting
email@hidden
http://www.p3-consulting.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: test if a pointer is pointing to a valid object or not? (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Blocks in Obj-C (was: Passing Obj-C method as callback to C function)
  • Next by Date: RE: componentsSeparatedByString:
  • Previous by thread: Re: test if a pointer is pointing to a valid object or not?
  • Next by thread: Re: test if a pointer is pointing to a valid object or not?
  • Index(es):
    • Date
    • Thread