ftp.nice.ch/pub/next/developer/resources/classes/CrashTrap.s.tar.gz#/CrashTrap

AppDelegate.h
[View AppDelegate.h] 
AppDelegate.m
[View AppDelegate.m] 
CrashTrap.iconheader
 
CrashTrap.tiff
 
CrashTrap_main.m
[View CrashTrap_main.m] 
English.lproj/
 
Makefile
 
Makefile.postamble
 
Makefile.preamble
 
ObjectError.h
[View ObjectError.h] 
ObjectError.m
[View ObjectError.m] 
PB.gdbinit
 
PB.project
 
README
 

README

		CrashTrap
		---------
		
WHAT IT IS:
		
This is a demo of the ObjectError class.  This class can help in debugging an app by reporting on crashes.  When enabled, this class catches terminating signals (ie seg faults, bus errors) and fatal Objective-C runtime errors and writes a backtrace out to the console.  It can also be set to continue after a crash by jumping back into the main event loop.  This can give users the opportunity to save their work.

OjectError was written by a number of people - see the .h for the list. 


HOW TO USE IT:

To use ObjectError in your own apps, add the following line(s) in the _main.m file for your project:

	[ObjectError setup];
	[ObjectError setMuddleOn:YES];  // optional.
	
right before the line:

	[Application new];

Don't forget to turn off the "Generate Main File On Save" in ProjectBuilder (under Attributes.)


SUGGESTIONS / IMPROVEMENTS

I am not supporting this object but if you have any suggestions, comments or have made any improvements, I'd like to hear about them.

Email to:   ivo@hasc.ca


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