• 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
Xcode 3 and launchd WaitForDebugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 3 and launchd WaitForDebugger


  • Subject: Xcode 3 and launchd WaitForDebugger
  • From: Dustin Norman <email@hidden>
  • Date: Mon, 29 Oct 2007 15:22:39 -0400

I've got a launchd daemon that I'm trying to debug.  I have WaitForDebugger set to YES in my launchd plist file.  When the daemon is launched, I see the following output in the console:

10/29/07 2:58:48 PM com.apple.launchd[108] (com.foo.daemontest[3887]) Spawned and waiting for the debugger to attach before continuing... 

Then if try to attach to this process with Xcode, I get the following errors:

Attaching to program: `/Users/dustin/XcodeBuild/Debug/daemontest', process 3887.
Xcode: Introspection dylib not loaded because thread 1 has function: __dyld__dyld_start on stack
warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
Cannot access memory at address 0xfeedfad2
Cannot access memory at address 0xfeedfad2

Any attempts to step or continue the process result in this output:

Program received signal:  “EXC_BAD_ACCESS”.
Cannot access memory at address 0xfeedfad2
Cannot access memory at address 0xfeedfad2

I have been able to successfully attach using gdb via Terminal.  I have not tried this with Xcode 2.x.

Is this a supported operation with Xcode?  Are there any workarounds?

Thanks,
Dustin
 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode 3 and launchd WaitForDebugger
      • From: Jim Ingham <email@hidden>
  • Prev by Date: libPng is not univeral?
  • Next by Date: Re: libPng is not univeral?
  • Previous by thread: Re: libPng is not univeral?
  • Next by thread: Re: Xcode 3 and launchd WaitForDebugger
  • Index(es):
    • Date
    • Thread