• 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
Xcode Debugger caused log message...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode Debugger caused log message...


  • Subject: Xcode Debugger caused log message...
  • From: Phil Hystad <email@hidden>
  • Date: Fri, 1 Jan 2010 09:11:30 -0800

I am not sure if this is an Xcode debugger question or a question about Objective-C or maybe garbage collection.

But, I get the following log message on the console when debugging an Objective-C program (note, not cocoa, this is a data processing program, not U/I).  The message:

2010-01-01 09:03:36.969 FileRead[6676:90b] Did you forget to nest alloc and init?

And, it is repeated several times usually.  This message NEVER appears when I am running outside of the debugger.  Nor, does it appear if I am running in the debugger but merely execute continue with no breakpoints -- thus, no pausing.

One important fact I think is that I am using garbage collection and I have started a separate garbage collection thread.

It appears to be a conflict of sorts between the asynch behavior of the garbage collection thread and my main line of code (my program is otherwise single threaded).

Is this normal behavior while debugging GC programs or am I not doing something correctly.  None of my own objects appear to be improperly constructed (nesting alloc and init) -- indeed, I very rarely use alloc and init because I am using other construction messages.

Comments, Answers?

phil
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode Debugger caused log message...
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Switching executable automatically
  • Next by Date: Re: Xcode Debugger caused log message...
  • Previous by thread: Re: Switching executable automatically
  • Next by thread: Re: Xcode Debugger caused log message...
  • Index(es):
    • Date
    • Thread