Note that there are some explanatory texts on larger screens.

plurals
  1. POiOS: How to get stack trace of an unhandled std::exception?
    primarykey
    data
    text
    <p>If an unhandled NSException is thrown, the stack trace has a section like this:</p> <pre><code>Last Exception Backtrace: 0 CoreFoundation 0x32bd688f __exceptionPreprocess + 163 1 libobjc.A.dylib 0x34b7b259 objc_exception_throw + 33 2 CoreFoundation 0x32bd65c5 -[NSException init] + 1 3 Foundation 0x37296bd7 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 263 ... </code></pre> <p>But if std::exception is thrown, i get only this:</p> <pre><code>Thread 0 Crashed: 0 libsystem_kernel.dylib 0x34f2632c __pthread_kill + 8 1 libsystem_c.dylib 0x31e4c208 pthread_kill + 48 2 libsystem_c.dylib 0x31e45298 abort + 88 3 libc++abi.dylib 0x33bcaf64 abort_message + 40 4 libc++abi.dylib 0x33bc8346 default_terminate() + 18 5 libobjc.A.dylib 0x349f4368 _objc_terminate + 164 6 libc++abi.dylib 0x33bc83be safe_handler_caller(void (*)()) + 70 7 libc++abi.dylib 0x33bc844a std::terminate() + 14 8 libc++abi.dylib 0x33bc981e __cxa_rethrow + 82 9 libobjc.A.dylib 0x349f42a2 objc_exception_rethrow + 6 10 CoreFoundation 0x329a5506 CFRunLoopRunSpecific + 398 11 CoreFoundation 0x329a5366 CFRunLoopRunInMode + 98 12 GraphicsServices 0x32af2432 GSEventRunModal + 130 13 UIKit 0x34f84cce UIApplicationMain + 1074 14 APP_NAME 0x00086b10 main (main.m:68) 15 APP_NAME 0x00071b98 start + 32 </code></pre> <p>How do I get the exact crash info from this crash log? </p> <p>Update --</p> <p>I've given HockeyApp a shot, but it has the same limitation as iTunes crash logs - it doesn't tell me the stack for an unhandled C++ exception. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload