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 <[email protected]>
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
> [email protected] <javascript:;>
> 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
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to