Reputation: 76
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?
Upvotes: 5
Views: 1941
Reputation: 2860
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.
Upvotes: 2