Attaching to a Background Process at Launch
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