Symbolicating Stack Trace without Crash

后端 未结 3 1050
夕颜
夕颜 2021-02-04 06:10

Is there any way to symbolicate a stack trace that is not a full crash report?

I am logging the string result of [NSThread callStackSymbols] to our server. This doesn\'t

3条回答
  •  名媛妹妹
    2021-02-04 06:34

    I don't think this is possible. [NSThread callStackSymbols] return the memory address of the functions. It can't be symbolicated without dump the memory right after crashing. When crashing, the addresses are different for each device. Even on one device, if you reboot the phone, addresses changed after another crash. Several guys mentioned atos but it's for crash log, not for callStackSymbols.

提交回复
热议问题