blankyao
blankyao

Reputation: 76

what's the disadvatage of callStackSymbols

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

Answers (1)

Scott Corscadden
Scott Corscadden

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

Related Questions