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: Sun, 18 Jun 2006 10:28:40 -0700
On Jun 18, 2006, at 01:12 , Rick Mann wrote:
On Jun 17, 2006, at 23:04 , Justin C. Walker wrote:
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.
Well, this doesn't seem to work. I set a breakpoint before the
fork, I set the mode, and then continue, and the breakpoint in the
child path after the fork never happens.
Am I doing something wrong?
You may well be, and I am probably doing the same thing.
However, I just tried this (one should always do that before
advising :-/ but it was late), and nothing works as I'd expect.
Referring to the documentation (how embarrassing), it says that this
is only supported on HP-UX.
I also tried "catch fork", and reran the process. Both parent and
child happily completed and exited without a peep from the debugger.
May be time to fire up the browser and file an enhancement request.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
_______________________________________________
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