• 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 12:07:25 -0700


On Jun 18, 2006, at 10:50 , Rick Mann wrote:


On Jun 18, 2006, at 10:28 , Justin C. Walker wrote:

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.

The posting I found, dated 21 Oct 2004,

	http://lists.apple.com/archives/xcode-users/2004/Oct/msg00220.html

says "set follow-fork-mode is not implemented on Mac OS X (it was only very recently implemented on Linux). We'll get to it some day..."

Sigh. More than 1.5 *years* later, we still don't have support for this.

Radar #4590974

It seems to be worse than that. If I single-step over a fork(), the child process dies; the crash log sez:
Exception: EXC_BREAKPOINT (0x0006)
so it looks like gdb isn't really behaving itself.


For grins, I filed a bug report (rdar://4590979).

Cheers,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


_______________________________________________ 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
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>)
 >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: How do debug past fork()?
  • Next by Date: define GCC_PREFIX_FILE setting at project level?
  • Previous by thread: Re: How do debug past fork()?
  • Next by thread: Debug Configuration Linking
  • Index(es):
    • Date
    • Thread