• 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: 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


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

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