Re: Debugging Plugin
Re: Debugging Plugin
- Subject: Re: Debugging Plugin
- From: Fritz Anderson <email@hidden>
- Date: Tue, 6 Jan 2009 11:57:47 -0600
On Jan 6, 2009, at 11:27 AM, Erik Benoist wrote:
I'm getting a segfault from some code, but I have no idea how to
debug it using Xcode as it[']s an InstallerPlugin. I've seen some
mention to the attach feature, but I have no idea how that might
work. Can someone point me in the right direction so I can actually
step through some code and find out where my problem resides?
I don't know if Installer.app is a special case, but the usual
solution is to add a custom executable to your plug-in project,
pointing it at the host application (in this case /System/Library/
CoreServices/Installer.app). Make it the active executable for your
plug-in target. Set your breakpoints and run.
(I'm ashamed to say I've never actually done this with Installer plug-
ins, so I may be missing some detail.)
— F
--
Fritz Anderson - Xcode 3 Unleashed, now in its second printing
<http://x3u.manoverboard.org/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden