Re: Am I overreleasing something?
Re: Am I overreleasing something?
- Subject: Re: Am I overreleasing something?
- From: Eric Brunstad <email@hidden>
- Date: Fri, 10 Jun 2005 15:59:31 -0400
Hi,
On Jun 10, 2005, at 8: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?
You can't make the autorelease pool release early, but you can create
more autorelease pools. See NSAutoreleasePool.
Also, I like to just comment out the parts of the code I think are
faulty and then put back a couple lines at a time.
Eric Brunstad
Mind Sprockets Software
email@hidden
www.mindsprockets.com
_______________________________________________
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