Re: Debugging System Prefpane
Re: Debugging System Prefpane
- Subject: Re: Debugging System Prefpane
- From: "b.bum" <email@hidden>
- Date: Thu, 16 Sep 2004 14:24:30 -0700
On Sep 16, 2004, at 1:28 PM, Sean McBride wrote:
Jon Flowers (email@hidden) on Tue, Sep 14, 2004 17:01 said:
What is the easiest way to debug a prefPane?
The easiest way is to create a custom executable that points to
/Applications/SystemPreferences.app.
Then, just run SystemPreferences.app under the debugger and click on
your preferences pane.
Note that you do not need to install or copy your pref pane every time.
Go to the terminal and create a symlink from
~/Library/PreferencePanes/ to the build output location. Say I was
writing a pref pane named 'Foo'.
% cd ~/Library/PreferencePanes/
% ln -s /build/bbum-products/Foo.prefPane
You will need to relaunch System Preferences (or relaunch in gdb) after
each build.
This same method works well for most kinds of plugins/bundles,
including context menus in the Finder (it is how SCPlugin is debugged,
for example).
b.bum
_______________________________________________
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