Re: Problem enumerating a directory
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