ftp.nice.ch/pub/next/developer/resources/classes/CrashTrap.s.tar.gz#/CrashTrap/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 "ObjectError.h"

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

	[ObjectError setup];
	[ObjectError setMuddleOn: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.