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

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


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

We have a main application and cmd line tool--both targets in the same Xcode project. The former
calls the latter when it runs with a popen() call. I can symbolically debug the tool by
running the main app from the Finder, then, in Xcode with the tool target selected, doing
"Attach to process..". The tool then stops at any breakpoints set.


The problem I have is I want to debug an exception that occurs near
to the startup of the tool, and by the time I go through the Attach step back in XCode the tool
is already past that point. Perhaps there is a way with gdb to do this...? any suggestions would be
appreciated.


Xcode 3.1.1 on 10.5.6

Dennis Christopher
_______________________________________________
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: need way to debug tool called by popen--at startup
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: Facing an issue with leaks utility in mac in usage with the xcode project
  • Next by Date: Re: Facing an issue with leaks utility in mac in usage with the xcode project
  • Previous by thread: Re: Re-"Targeting" to build a bundle
  • Next by thread: Re: need way to debug tool called by popen--at startup
  • Index(es):
    • Date
    • Thread