Re: Am I overreleasing something?
Re: Am I overreleasing something?
- Subject: Re: Am I overreleasing something?
- From: Glen Simmons <email@hidden>
- Date: Fri, 10 Jun 2005 08:20:21 -0500
On Jun 10, 2005, at 7:51 AM, Theodore H. Smith wrote:
I'm getting this error as displayed in the console:
=resolve-pending-breakpoint,new_bp="33",pended_bp="33"
Pending breakpoint 33 - "-[NSException raise]" resolved
Program received signal: "EXC_BAD_ACCESS".
Unable to disassemble objc_msgSend_rtp.
from here in my stack:
#0 0xfffeff20 in objc_msgSend_rtp
#1 0x92858a88 in NSPopAutoreleasePool
#2 0x93619414 in -[NSApplication run]
#3 0x93709c1c in NSApplicationMain
#4 0x00009670 in main at main.m:13
I suppose this means that I'm overreleasing something, right?
If so, what's a good technique to track this down (Apart from
stepping through every line of code, which I always do)? Is there
someway to make the release pool release early, so that I can
narrow down the bug to a specific area of my code?
No, but you can find out what kind of object it is that's getting
over-released. Check out NSZombieEnabled
http://developer.apple.com/technotes/tn2004/tn2124.html#SECFOUNDATION
HTH,
Glen
_______________________________________________
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