Re: NSFileManager Preference Pane
Re: NSFileManager Preference Pane
- Subject: Re: NSFileManager Preference Pane
- From: "I. Savant" <email@hidden>
- Date: Thu, 30 Mar 2006 11:43:29 -0500
In addition, it'd be a lot easier to diagnose your problem if
you'd post the code you're using ... :-)
--
I.S.
On Mar 30, 2006, at 11:33 AM, Mike Blaguszewski wrote:
On Mar 30, 2006, at 9:18 AM, Robert Crawford wrote:
I am trying to call the NSFileManager inside a preference pane,
when I add the code to do this the preference pane will not load,
what could cause this?
I assume you mean an NSPreferencePane, right? There's no reason
NSFileManager calls shouldn't work there. Have you tried running it
in the debugger? If you add System Preferences as a custom
executable and set it as the active executable from the Project
menu, you should be able to set breakpoints in initWithBundle:,
willSelect, etc. (caveat: haven't completely tested this approach;
I used to use gdb directly for it.)
If it's just a preference pane inside your own app, then it should
be even easier to debug. You're probably doing something that's
throwing an exception (which some NSFileManager methods can).
Trying setting a symbolic breakpoint on -[NSException raise].
--
Mike Blaguszewski / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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