Hi Wolfgang and Ivan,

On Aug 28, 2014, at 9:39 AM, Wolfgang Lux wrote:

> Am 28.08.2014 um 00:58 schrieb Andreas Höschler:
> 
>> 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?
> 
>  abort();

> free(-1); even.
> 
> If you are unfamiliar with "limits" others are talking about:
> 
> $ ulimit -c unlimited
> 
> and when done
> 
> $ ulimit -c 0


Thanks a lot!! I will give both a try!!

Andreas


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to