• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Object Allocations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Object Allocations
      • From: Rosyna <email@hidden>
References: 
 >Object Allocations (From: Rosyna <email@hidden>)

  • Prev by Date: Re: distributed processing ad multiThreading
  • Next by Date: Re: Object Allocations
  • Previous by thread: Object Allocations
  • Next by thread: Re: Object Allocations
  • Index(es):
    • Date
    • Thread