• 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
Attaching to a Background Process at Launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attaching to a Background Process at Launch


  • Subject: Attaching to a Background Process at Launch
  • From: Seth Willits <email@hidden>
  • Date: Mon, 14 Jan 2013 15:07:17 -0800

My Mac app launches a background process to do some work and I need to attach the debugger to that process when it gets launched. So I did Product -> Attach to Process -> By PID or Name…, but when the background process gets launched from my app, the bg process exits with a termination status of 255 before anything else happens.  If I manually attach the debugger after the background process has started, then it works fine. The bg process is an unbundled executable that does NSApplicationLoad() … [[NSRunLoop currentRunLoop] run];


Any idea what I should look for to solve the early termination?


--
Seth Willits




 _______________________________________________
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: Attaching to a Background Process at Launch
      • From: Seth Willits <email@hidden>
    • Re: Attaching to a Background Process at Launch
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: Unit test did not finish
  • Next by Date: Re: Attaching to a Background Process at Launch
  • Previous by thread: non-virtual thunk in Carbon Databrowser: always a crash?
  • Next by thread: Re: Attaching to a Background Process at Launch
  • Index(es):
    • Date
    • Thread