Re: Attaching to a Background Process at Launch
Re: Attaching to a Background Process at Launch
- Subject: Re: Attaching to a Background Process at Launch
- From: Scott Ribe <email@hidden>
- Date: Mon, 14 Jan 2013 17:15:34 -0700
On Jan 14, 2013, at 4:07 PM, Seth Willits wrote:
> Any idea what I should look for to solve the early termination?
First lines of main():
int foo = 1;
while(foo)
;
That gives you the chance to attach before most things happen, then change value of foo to 0 and go. If it crashes before it gets there, then it's dying in static initialization--which is most often caused by your having some dependence on the order of static/global initialization.
Also, bg tools get crash logs. The location varies, but you could well have a crash log already sitting on your computer that will show you the problem.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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