• 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
Compiler not finding "NSDebug.h" - WHY?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiler not finding "NSDebug.h" - WHY?


  • Subject: Compiler not finding "NSDebug.h" - WHY?
  • From: John Draper <email@hidden>
  • Date: Wed, 29 Dec 2004 11:50:44 -0800

Hi,

I'm trying to find out which objects are getting de-allocated... I found out a
file called "NSDebug.h" which has access to routines and the NSDebug
class... and in particular, I was hoping I could use....


+ (void)showPools;
   // Displays to stderr the state of the current thread's
   // autorelease pool stack.

So I tried to add...

#import <NSDebug.h> to my source file,  then add...

[NSDebug showPools];

To my code which is supposed to display the state of the stack to give me
SOME clue about which objects got de-allocated.

Why isn't this working?

What can I do to use this?

Do I really want to use this?

Is there any other way I can use the debugger to tell me what's going on?

Where can I find any docs that explain this?

John
_______________________________________________
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


  • Follow-Ups:
    • Re: Compiler not finding "NSDebug.h" - WHY?
      • From: John Davidorff Pell <email@hidden>
  • Prev by Date: Re: How to obtain measurement unit setting
  • Next by Date: Sorting unicode strings
  • Previous by thread: Re: How do I track the mouse movement in a NSTableView cells?
  • Next by thread: Re: Compiler not finding "NSDebug.h" - WHY?
  • Index(es):
    • Date
    • Thread