• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Debugging Plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Debugging Plugin


  • Subject: RE: Debugging Plugin
  • From: "Kolur, Panduranga" <email@hidden>
  • Date: Tue, 6 Jan 2009 14:56:12 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Debugging Plugin

Check this link,

http://s.sudre.free.fr/Stuff/Installer/Installer_Plugins/InstallerPlugins-Debugging.html

-Pandu


-----Original Message-----
From: installer-dev-bounces+panduranga.kolur=email@hidden [mailto:installer-dev-bounces+panduranga.kolur=email@hidden] On Behalf Of Fritz Anderson
Sent: Tuesday, January 06, 2009 9:58 AM
To: Erik Benoist
Cc: email@hidden
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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
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

References: 
 >Debugging Plugin (From: Erik Benoist <email@hidden>)
 >Re: Debugging Plugin (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: setting status from postflight
  • Next by Date: [Book] Mac OS X Deployment 10.5
  • Previous by thread: Re: Debugging Plugin
  • Next by thread: setting status from postflight
  • Index(es):
    • Date
    • Thread