• 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 need way to debug tool called by popen--at startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re need way to debug tool called by popen--at startup


  • Subject: re need way to debug tool called by popen--at startup
  • From: Dennis Christopher <email@hidden>
  • Date: Thu, 30 Apr 2009 14:07:02 -0400

Jonas ,

I tried sleep(10) in the called tool near the start, placing a breakpoint after it. what happens is that I do Attach to process..and nothing happens until finally gdb opens and hits one of the breakpoints further on in the program..I noticed that sometimes gdb seems to break in assembly underneath the actual break point in the source. Not sure if this last fact is relevant.

Dennis
On Apr 30, 2009, at 1:36 PM, email@hidden wrote:

Alternatively, you can add a sleep(10) or however long you need at the
beginning of the command line tool, so that you do get enough time to
attach gdb manually.
_______________________________________________
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: re need way to debug tool called by popen--at startup
      • From: Jack Repenning <email@hidden>
  • Prev by Date: Re: Xcode could not locate source file
  • Next by Date: Re: re need way to debug tool called by popen--at startup
  • Previous by thread: Re: need way to debug tool called by popen--at startup
  • Next by thread: Re: re need way to debug tool called by popen--at startup
  • Index(es):
    • Date
    • Thread