在Android Studio(OSX)中使用LLDB时无法保存核心转储?

时间:2018-07-30 22:45:50

标签: android android-studio native lldb

使用LLDB调试使用本机库的android项目时,我无法导出核心转储。

我运行我的应用程序,并在调试器中获得了SIGSEGV。然后,我在Android Studio中打开LLDB控制台,并在尝试导出核心转储时得到以下信息。

(lldb) process save-core ./core-20180730-174318
error: Failed to save core file for process: no ObjectFile plugins were able to save a core for this process

1 个答案:

答案 0 :(得分:2)

当前SaveCore仅适用于MachO和PECOFF文件格式,不适用于ELF。随时通过bugs.llvm.org提交对此的请求,并且有人会在某个时候解决它。或者,如果您对使用调试器感兴趣,则可以自己实施! lldb-dev(lldb-dev@lists.llvm.org)列表上的人如果愿意尝试帮助您,将非常乐意为您提供帮助。

相关问题