• 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
Re: How do debug past fork()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do debug past fork()?
      • From: Rick Mann <email@hidden>
References: 
 >How do debug past fork()? (From: Rick Mann <email@hidden>)
 >Re: How do debug past fork()? (From: "Justin C. Walker" <email@hidden>)
 >Re: How do debug past fork()? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Debug Configuration Linking
  • Next by Date: Re: How do debug past fork()?
  • Previous by thread: Re: How do debug past fork()?
  • Next by thread: Re: How do debug past fork()?
  • Index(es):
    • Date
    • Thread