• 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: Problem enumerating a directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem enumerating a directory


  • Subject: Re: Problem enumerating a directory
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 30 Jul 2012 13:00:35 -0700

On Jul 30, 2012, at 2:48 AM, Mark Allan <email@hidden> wrote:

> Thanks very much for the suggestion.  I've just given that a try, but it doesn't make any difference.  The enumeration still stops early, but the error handler block doesn't get called

This sort of situation always makes me suspect an exception being raised. It might be internal to NSFileManager and get caught at a higher level, returning back to your code. (In which case it's a framework bug, and would be good to report to Apple.)

Try setting an all-exceptions breakpoint (go to the breakpoints tab in the navigator, and press the + button at the bottom.)

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Problem enumerating a directory (From: Mark Allan <email@hidden>)
 >Re: Problem enumerating a directory (From: Kevin Perry <email@hidden>)
 >Re: Problem enumerating a directory (From: Mark Allan <email@hidden>)

  • Prev by Date: awakeFromSnapshotEvents: flags == 128?
  • Next by Date: Drag-and-drop crashes
  • Previous by thread: Re: Problem enumerating a directory
  • Next by thread: Re: Problem enumerating a directory
  • Index(es):
    • Date
    • Thread