Re: Debugging object lifetimes
Re: Debugging object lifetimes
- Subject: Re: Debugging object lifetimes
- From: Joseph Heck <email@hidden>
- Date: Mon, 6 Mar 2006 20:34:51 -0800
It's not quite as nice as that method name, but I recommend you check
out NSZombieEnabled. Some detail to be spotted in the Cocoa-dev wiki
(http://www.cocoadev.com/index.pl?NSZombieEnabled), but the real meat
is in TN 2124 (http://developer.apple.com/technotes/tn2004/tn2124.html)
Very handy for tracking down those over-deallocations.
-joe
On Mar 6, 2006, at 7:57 PM, Scott Ribe wrote:
Does Cocoa have anything like a
"appearsToBeADanglingPointerToARecentlyDeallocedObject" method???
I have a workflow app, where updates are being "flung" around the
network in
an asynchronous manner and the UIs update to reflect the incoming
data. I am
unable to reproduce the problem here, so I can't just run a good
test case
with MallocDebug or other tools--something about 10 users at
customer site
vs me trying to simulate multiple users... Anyway, it looks like I
may be
managing to use NSInvocation on a dealloc'd object.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden