Re: Help debugging a System Preferences pane
Re: Help debugging a System Preferences pane
- Subject: Re: Help debugging a System Preferences pane
- From: Dave Camp <email@hidden>
- Date: Thu, 6 Dec 2007 17:19:37 -0800
On Dec 6, 2007, at 5:12 PM, Mike Kobb wrote:
My preference pane builds fine, and if I drop it into ~/Library/
PreferencePanes, it loads and works. I have set up an executable in
XCode so that telling XCode to "run" or "debug" my pane launches
System Preferences.
However, if I set some breakpoints in my code, tell XCode to
"Debug" (System Preferences launches), and then exercise the
controls that call that code, the breakpoints don't fire. I notice
that the breakpoint indicators that I put in my source turn yellow
when XCode starts launching the System Preferences application
(meaning that they're pending, yes?), but they never turn blue
again. If I click them twice, they go from disabled to blue, but
they still won't fire when the code is exercised.
I have also tried setting the deployment location to ~/Library/
PreferencePanes, and this does result in the built pane being put in
the proper place, but I have the same problem with breakpoints not
working.
I'm sure this is something simple, and I'd appreciate any help!
I think you would have to set the target executable to be System
Preferences itself, not your pref pane bundle, though I have not tried
this since upgrading to Leopard.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden