ftp.nice.ch/pub/next/developer/resources/classes/CrashTrap.1.0.NIHS.bs.tar.gz#/CrashTrap.v1.0/Source/CrashTrap_main.m

This is CrashTrap_main.m in view mode; [Download] [Up]

/* Generated by the NeXT Project Builder 
   NOTE: Do NOT change this file -- Project Builder maintains it.
*/

#import <appkit/appkit.h>
#import "HKCrashTrap.h"

void main(int argc, char *argv[]) {

	[HKCrashTrap setup];
	[HKCrashTrap setContinueAfterError:YES];  // try to continue after a crash.

    [Application new];
    if ([NXApp loadNibSection:"CrashTrap.nib" owner:NXApp withNames:NO])
	    [NXApp run];
	    
    [NXApp free];
    exit(0);
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.