Am 28.08.2014 um 12:58 schrieb Riccardo Mottola: > Hi, > > 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(); > I'd try that first, especially after the lesson in PC's hihglight code and > all related statements of the wild optimizations that can happen with illegal > code! > > I couldn't find evidence however that SIGABRT is guaranteed to leave a core > file.
you can use kill(getpid(), SIGFPE) _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
