Re: debugging a System Preferences pane
Re: debugging a System Preferences pane
- Subject: Re: debugging a System Preferences pane
- From: Manuel Darveau <email@hidden>
- Date: Mon, 18 Mar 2002 18:41:13 -0500
>
Hi:
>
>
I am developing a 'System Preferences' pane for our wireless PC Card.
>
I want to send printf debug messages to the /var/log/system.log file.
>
For some reason, the messages do not show up in the log file.
>
>
Would anyone please direct me as how to debug a System Preferences pane?
Hi!
1- In the file tb, choose your project and then select show info from the
project menu.
2- Select "Place build in separate location" and enter:
/Library/PreferencePanes
3-Select the target tab. Select your project and in the Executables tab
change the executable to the System Preference applciation.
Here you go!
BTW, if you just want to log for debug, you can add some NSLog(@"Hey!!!");
in your code. The output will be in the console application locates in
/Applications/Utilities/Console.app.
Manuel Darveau
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.