• 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: 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


  • Follow-Ups:
    • RE: Debugging Plugin
      • From: "Kolur, Panduranga" <email@hidden>
References: 
 >Debugging Plugin (From: Erik Benoist <email@hidden>)

  • Prev by Date: setting status from postflight
  • Next by Date: Re: setting status from postflight
  • Previous by thread: Debugging Plugin
  • Next by thread: RE: Debugging Plugin
  • Index(es):
    • Date
    • Thread