Xcode 3 and launchd WaitForDebugger
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