I used NSSetUncaughtExceptionHandler(&HandleExceptions);
for handling uncaught exceptions in the method
void HandleExceptions(NSException *exception)
{
}
I want to print Class , method and line number where that exception occurred any solution??
I am getting Following stack trace
0 appName 0x00000001000b6a20 HandleExceptions + 584
1 appName 0x00000001002175f0 GAIUncaughtExceptionHandler + 716
2 CoreFoundation 0x00000001852fe95c <redacted> + 692
3 libobjc.A.dylib 0x0000000195a103b4 <redacted> + 116
4 libc++abi.dylib 0x0000000195211bb4 <redacted> + 16
5 libc++abi.dylib 0x000000019521173c __cxa_rethrow + 144
6 libobjc.A.dylib 0x0000000195a10294 objc_exception_rethrow + 44
7 CoreFoundation 0x00000001851e1154 CFRunLoopRunSpecific + 572
8 GraphicsServices 0x000000018e38b5a4 GSEventRunModal + 168
9 UIKit 0x0000000189b163c0 UIApplicationMain + 1488
10 appName 0x00000001000a8584 main + 108
11 libdyld.dylib 0x000000019607ea08 <redacted> + 4