site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AclwKF94weFcoMGwRe+T0yeTkaggzAAIRPJA Thread-topic: Debugging Plugin Check this link, http://s.sudre.free.fr/Stuff/Installer/Installer_Plugins/InstallerPlugins-De... -Pandu -----Original Message----- From: installer-dev-bounces+panduranga.kolur=intel.com@lists.apple.com [mailto:installer-dev-bounces+panduranga.kolur=intel.com@lists.apple.com] On Behalf Of Fritz Anderson Sent: Tuesday, January 06, 2009 9:58 AM To: Erik Benoist Cc: installer-dev@lists.apple.com Subject: Re: Debugging Plugin 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/panduranga.kolur%40inte... This email sent to panduranga.kolur@intel.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com