Re: Authentication for MoreSCF
Re: Authentication for MoreSCF
- Subject: Re: Authentication for MoreSCF
- From: Quinn <email@hidden>
- Date: Wed, 22 May 2002 22:00:58 +0100
At 11:36 -0700 22/5/02, Morgan Redman wrote:
gdb. Im using project builder, and I cant figure out how to get the
debugger to stop in the tool code ( or if you even can )?
I'm pretty sure that GDB's inability to debug through fork/exec is a
known issue. If you have access to the Jaguar seed I recommend you
try it on that build and, if it hasn't improved, file a bug.
My preferred way to debug tools like this (ie that are sublaunched by
my app) is to insert a sleep(60) at the first line of "main". The
tool will then delay for 60 seconds when it starts up. You can then
run GDB in a Terminal window and attach to the tool via GDB's
"attach" command. The act of attaching breaks your tool out of the
sleep delay and you're off debugging.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.