• 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: NSCFArray beyond bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCFArray beyond bounds


  • Subject: Re: NSCFArray beyond bounds
  • From: "Sean McBride" <email@hidden>
  • Date: Sat, 30 Dec 2006 16:15:28 -0500

Alexander Cohen (email@hidden) on 2006-12-29 10:48 said:

>Im getting an NSCFArray beyond bounds error in the console a lot from
>my app, im not sure how to find culprit. Is there any place i can put
>a break point that will only break when that message is output to the
>console? I tried 'NSLog' but that only seems to give me a 5 or 6
>frame stack. This seems to tell me that my problem is going on in
>another thread than the main thread. I also tried 'objectAtIndex' but
>that message is sent much too often. Please help!

Maybe this would help:
<http://developer.apple.com/technotes/tn2004/tn2124.html#SECCF>

"The Core Foundation framework also has a debug variant that offers
extensive debugging assistance. For example, the non-debug variant of
Core Foundation does not check the validity of parameters that you pass
to its routines, whereas the debug variant includes full parameter checking."

Sean

--
"None are more hopelessly enslaved than those who falsely believe they
are free." - Goethe

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Problem: debug version works / release doesn't work
  • Next by Date: Re: bound textview display glitch
  • Previous by thread: Re: Problem: debug version works / release doesn't work
  • Next by thread: Re: bound textview display glitch
  • Index(es):
    • Date
    • Thread