CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
|
Go to the source code of this file.
Functions | |
void | HandleException (NSException *exception) |
void | InstallUncaughtExceptionHandler () |
void | SignalHandler (int signal) |
Variables | |
volatile int32_t | UncaughtExceptionCount = 0 |
NSString *const | UncaughtExceptionHandlerAddressesKey = @"UncaughtExceptionHandlerAddressesKey" |
const NSInteger | UncaughtExceptionHandlerReportAddressCount = 5 |
NSString *const | UncaughtExceptionHandlerSignalExceptionName = @"UncaughtExceptionHandlerSignalExceptionName" |
Handles uncaught exceptions and displays them to the user. | |
NSString *const | UncaughtExceptionHandlerSignalKey = @"UncaughtExceptionHandlerSignalKey" |
const NSInteger | UncaughtExceptionHandlerSkipAddressCount = 4 |
const int32_t | UncaughtExceptionMaximum = 10 |
void HandleException | ( | NSException * | exception | ) |
Definition at line 114 of file UncaughtExceptionHandler.m.
References UncaughtExceptionHandler::backtrace, UncaughtExceptionCount, and UncaughtExceptionMaximum.
void InstallUncaughtExceptionHandler | ( | ) |
Definition at line 173 of file UncaughtExceptionHandler.m.
References HandleException(), and SignalHandler().
void SignalHandler | ( | int | signal | ) |
Definition at line 139 of file UncaughtExceptionHandler.m.
References UncaughtExceptionHandler::backtrace, UncaughtExceptionCount, and UncaughtExceptionMaximum.
volatile int32_t UncaughtExceptionCount = 0 |
Definition at line 21 of file UncaughtExceptionHandler.m.
NSString* const UncaughtExceptionHandlerAddressesKey = @"UncaughtExceptionHandlerAddressesKey" |
Definition at line 19 of file UncaughtExceptionHandler.m.
const NSInteger UncaughtExceptionHandlerReportAddressCount = 5 |
Definition at line 25 of file UncaughtExceptionHandler.m.
NSString* const UncaughtExceptionHandlerSignalExceptionName = @"UncaughtExceptionHandlerSignalExceptionName" |
Handles uncaught exceptions and displays them to the user.
Created by Matt Gallagher on 2010/05/25. Copyright 2010 Matt Gallagher. All rights reserved.
Permission is given to use this source code file, free of charge, in any project, commercial or otherwise, entirely at your risk, with the condition that any redistribution (in part or whole) of source code must retain this copyright and permission notice. Attribution in compiled projects is appreciated but not required.
Definition at line 17 of file UncaughtExceptionHandler.m.
NSString* const UncaughtExceptionHandlerSignalKey = @"UncaughtExceptionHandlerSignalKey" |
Definition at line 18 of file UncaughtExceptionHandler.m.
const NSInteger UncaughtExceptionHandlerSkipAddressCount = 4 |
Definition at line 24 of file UncaughtExceptionHandler.m.
const int32_t UncaughtExceptionMaximum = 10 |
Definition at line 22 of file UncaughtExceptionHandler.m.