Re: How do debug past fork()?
Re: How do debug past fork()?
- Subject: Re: How do debug past fork()?
- From: "Justin C. Walker" <email@hidden>
- Date: Sat, 17 Jun 2006 23:04:56 -0700
On Jun 17, 2006, at 21:26 , Rick Mann wrote:
I'm a decent Mac programmer, but know very little about "unix"
programming.
I'm trying to modify some code that forks. When I step over the
fork call, I get the result in the parent process. I also want to
debug the child process immediately after the fork. Is this
possible? How do I do it?
Basically, two ways: "help set follow-fork-mode" will tell you a
little about one way; and the heavy hammer is to put a sleep/pause
call in the child, and then attach to it while it is sleeping.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
_______________________________________________
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