• 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: debugging a System Preferences pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: debugging a System Preferences pane
      • From: Manooch Khajeh <email@hidden>
References: 
 >debugging a System Preferences pane (From: Manooch Khajeh <email@hidden>)

  • Prev by Date: Re: Newbie with stupid question cont.
  • Next by Date: NSString from .txt file
  • Previous by thread: debugging a System Preferences pane
  • Next by thread: Re: debugging a System Preferences pane
  • Index(es):
    • Date
    • Thread