Re: debugging a System Preferences pane
Re: debugging a System Preferences pane
- Subject: Re: debugging a System Preferences pane
- From: Manooch Khajeh <email@hidden>
- Date: Mon, 18 Mar 2002 19:27:04 -0800
Manuel, Issac, Ingvar:
thanks for your response. I tried what you wrote, but I still do not
get any debug log output.
I have tried printf, fprintf, and NSLog. And none of the three produces
output logs.
If I use syslog, the System Preference application crashes with the log
message "syslog: unknown facility/priority".
Any other suggestions is appreciated.
Manooch
On Monday, March 18, 2002, at 03:41 PM, Manuel Darveau wrote:
>
> 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.
>
>
Manooch Khajeh
www.macwireless.com
510-848-7126
_______________________________________________
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.