Re: How to dump core?
Re: How to dump core?
- Subject: Re: How to dump core?
- From: "Justin C. Walker" <email@hidden>
- Date: Wed, 10 May 2006 18:36:26 -0700
On May 10, 2006, at 18:20 , Ken Turkowski wrote:
I'm doing some unit testing by compiling directly with gcc in
Terminal, and running as a command line tool, and I get a
segmentation fault. When I run in GDB, it runs fine. How can I get
it to dump core when running from the command line? Or do you have
some alternative debugging strategies?
"man abort"; you may need to enable core dumps in your terminal/shell
session (which is shell-specific; cf the man-page for your shell).
Also, check that the system's "sysctl" variable for coredumps is
enabled (!= 0).
Regards,
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