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

Re: Xcode 3 and launchd WaitForDebugger


  • Subject: Re: Xcode 3 and launchd WaitForDebugger
  • From: Jim Ingham <email@hidden>
  • Date: Tue, 30 Oct 2007 10:59:03 -0700

Please file a bug and include the Xcode-gdb log (in Xcode 3.0 you can turn the log generation on and off in the Debugging pane of the Xcode Preferences.)

Jim

On Oct 29, 2007, at 12:22 PM, Dustin Norman wrote:

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

_______________________________________________ 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: 
 >Xcode 3 and launchd WaitForDebugger (From: Dustin Norman <email@hidden>)

  • Prev by Date: Re: SCN in XCode 3.0 Leopard
  • Next by Date: Re: Where is main?
  • Previous by thread: Xcode 3 and launchd WaitForDebugger
  • Next by thread: .xib as default
  • Index(es):
    • Date
    • Thread