Changeset 5010

Show
Ignore:
Timestamp:
10/25/07 19:51:29 (10 months ago)
Author:
morris
Message:

Crash if unable to log exception so we get a backtrace

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredAdditions/trunk/WIExceptionHandler.m

    r4495 r5010  
    7777        } 
    7878         
     79        if(i == 0) { 
     80                NSLog(@"*** %@: Unable to log backtrace, crashing", [self class]); 
     81 
     82                *((char *) 0) = 0; 
     83        } 
     84         
    7985        return NO; 
    8086}