A lightweight stack trace logging facility library for iOS.
Only support X86_64 and ARM64 architectures at the moment
// Buffer can be filled with up to 128 stack frames. void *buffer[128]; int count = LPSnapshotThreadStackTrace(buffer, sizeof(buffer), anyThread); // Get string representaion of the stack trace. NSArray<NSString *> *result = LPStackTraceString(buffer, count);
// Buffer can be filled with up to 40 threads. LPThreadStackTrace buffer[40]; int count = LPSnapshotAllThreadsStackTrace(buffer, sizeof(buffer)); // Get string representaion of the stack trace. NSArray<NSArray<NSString *> *> *result = LPStackTracesString(buffer, count);