|
From: | Gregory Casamento |
Subject: | Re: Causing a core dump in GNUstep program |
Date: | Wed, 27 Aug 2014 20:00:19 -0400 |
You could dereference a nil pointer on purpose. Make sure you set lots properly to allow it to produce a core file.
On Wednesday, August 27, 2014, Andreas Höschler <ahoesch@smartsoft.de> wrote:
Hi all,
I am tracking a very hard to catch problem and therefore would like to purposely create a core dump via a piece of code in my program when the problem reoccurs (might take days or weeks). What line of code can I include in my GNUstep Objective-C program to create a core dump on purpose? Any idea?
Thanks a lot,
Andreas
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com
[Prev in Thread] | Current Thread | [Next in Thread] |