Re: test if a pointer is pointing to a valid object or not?
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.