In the article Reliable Crash Reporting,Landon Fuller said it's better not to use [NSThread callStackSymbols],but can i use [exception callStackSymbols] when i want to get the full symbolic call stack and send it to my server?
Asked
Active
Viewed 1,883 times
1 Answers
2
They get their stack the same way, but the timing is different - NSThread one will get you the callstack at the time you send the callStackSymbols
message, and the NSException one will get you the symbols at the time the exception occurred.

Scott Corscadden
- 2,831
- 1
- 25
- 43
-
But why Landon Fuller doesn't recommend get the stack by **callStackSymbols** ?And in his PLCrashReporter he use callStackReturnAddresses to get the pointers,why not log the symbolic stack by **callStackSymbols** – blankyao Mar 01 '12 at 14:40
-
As of iOS 6, symbolizing the crash report on the device will just return
for most of the symbols. The only way to get around the – apple16 Sep 09 '13 at 00:46is to symbolize the crash on a mac or use private frameworks (which might get your app rejected). http://stackoverflow.com/questions/13156342/stack-trace-method-names-redacted