Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 469
blankyao Avatar asked Nov 05 '22 04:11

blankyao


1 Answers

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.

like image 84
Scott Corscadden Avatar answered Nov 15 '22 12:11

Scott Corscadden