Help debugging a System Preferences pane
Help debugging a System Preferences pane
- Subject: Help debugging a System Preferences pane
- From: Mike Kobb <email@hidden>
- Date: Thu, 6 Dec 2007 17:12:58 -0800
Hi,
I'm building a system preferences pane, and I'm having some trouble
getting XCode set up to debug it. I found an old thread in the
archives from last year, but it didn't seem directly relevant.
Apologies if this is oft-asked.
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!
Thanks a lot,
--Mike
_______________________________________________
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