• 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: How to debug a CFPlugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug a CFPlugin


  • Subject: Re: How to debug a CFPlugin
  • From: Steve Checkoway <email@hidden>
  • Date: Thu, 11 Dec 2008 12:49:47 -0800

On Thu, Dec 11, 2008 at 11:54:59AM -0800, Jose R.C. Cruz wrote:
> Hmm, I don't have a ptrace() call on my CFPlugin.  Does that matter?

ptrace() is called by the host application (in this case) to disable
debugging by passing PT_DENY_ATTACH as one of the parameters.

> Also, I have never used ptrace() before.  What is it suppose to do
> exactly?

I believe it is documented in the man page. PT_DENY_ATTACH might not
be (not in front of one of my Macs at the moment) but I seem to recall
an Apple Tech Note about debugging iTunes plugins which do the same
thing. It should be easy enough to find that.

--
Steve Checkoway


 _______________________________________________
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

References: 
 >How to debug a CFPlugin (From: "Jose R.C. Cruz" <email@hidden>)
 >Re: How to debug a CFPlugin (From: Etienne GuĂ©rard <email@hidden>)
 >Re: How to debug a CFPlugin (From: "Jose R.C. Cruz" <email@hidden>)

  • Prev by Date: Re: How to debug a CFPlugin
  • Next by Date: Re: Xcode won't select correct SDK
  • Previous by thread: Re: How to debug a CFPlugin
  • Next by thread: Static and Dynamic libraries for iPhone apps ?
  • Index(es):
    • Date
    • Thread