【发布时间】:2019-03-18 20:22:02
【问题描述】:
我正在研究 iOS 崩溃分析。现在,我需要将崩溃日志文件导入 LLDB。正如WWDC18 Session 414 所说,我现在有一个myApp、dSYM、xxx.crash 的副本。在 iTerm2.app 中运行以下命令:
$ lldb
(lldb) command script import lldb.macosx.crashlog
(lldb) crashlog /path/xxxx.crash
但是,堆栈跟踪文件不可用,只有很多错误,例如:
error: unable to locate any executables from the crash log
我用错了吗?正确的使用方法是什么?
【问题讨论】: