Re: Object Allocations
Re: Object Allocations
- Subject: Re: Object Allocations
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 17 Sep 2001 06:25:30 -0700
On Monday, September 17, 2001, at 05:58 AM, Rosyna wrote:
Is there anyway to get a list of all objects that have been allocated
in an ObjC application? I keep getting these _NSAutoreleaseNoPool()
messages with a reference to an object in my app, I have no clue what
the object at the address given is.
In GDB, you can cast the address you have to an id, and then send the
resulting object a -printForDebugger message.
The error messages you're getting though, are typically caused by not
having a top-level NSAutoreleasePool in place, and it doesn't really
matter what the objects in question are.
Is this a multi-threaded app?
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.