Re: Arggg...overrelease in table view cell, but where?
Re: Arggg...overrelease in table view cell, but where?
- Subject: Re: Arggg...overrelease in table view cell, but where?
- From: Corbin Dunn <email@hidden>
- Date: Thu, 11 Dec 2008 13:56:41 -0800
On Dec 11, 2008, at 1:30 PM, Markus Spoettl wrote:
On Dec 11, 2008, at 1:11 PM, j o a r wrote:
Overwrite GFController's -release and -autorelease, simply calling
[super release] and [super autorelease] (ensure you get the
signatures exactly right). Set a breakpoint in both and debug the
app. When the debugger hits the breakpoints you will see exactly
who called it in the call stack. You can then go a figure out if
that was on purpose.
Don't do that - Use the ObjectAlloc Instrument, it provides this
information out of the box.
So it stops the debugger and shows you the call stack *at the exact
time it's being called* and gives to an opportunity to walk back the
call stack before continuing? How so? Please do tell me how to do
that.
Sure does! (obviously, aside from stopping the debugger..)
http://www.corbinstreehouse.com/blog/index.php/2007/10/instruments-on-leopard-how-to-debug-those-random-crashes-in-your-cocoa-app/
corbin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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