ios - How to get a complete crash log from PLCrashReporter -
i decode plcrash log plcrashreporter, information not complete:
incident identifier: todo crashreporter key: todo ... exception type: sigbus exception codes: bus_adrerr @ 0x1 but crash log organizer is:
incident identifier: 79a8a9e4-9fd2-4a53-b43f-dc32c47aa073 crashreporter key: a767dd53c828e7977d7770d6d5c3c4238a2b525e ... exception type: exc_crash (sigsegv) exception codes: 0x00000000, 0x00000000 how can correct incident id , crashreporter key(i need this)? thanks.
btw, plcrashreporter's log not show thread name of crash stack.
swift code:
let crash = plcrashreporttextformatter.stringvalueforcrashreport(report, withtextformat: plcrashreporttextformatios) print("report: \(crash)") objective c code:
nsstring *crash = [plcrashreporttextformatter stringvalueforcrashreport:report withtextformat:plcrashreporttextformatios]; nslog(@"report: %@", crash);
Comments
Post a Comment