【发布时间】:2017-04-13 08:28:47
【问题描述】:
类似于this question,如何使用 LLDB 调试我正在使用ctypes 加载的库?
我可以用
在调试器中启动它$ lldb -- python myscript.py
但是我想在 C 库中的特定函数上设置断点。编写以下失败:
(lldb) breakpoint set -f fft.c -l 78
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
运行 image list 不会显示我的库。如何告诉 LLDB 加载库?
另外,一旦加载,我如何验证 LLDB 加载了调试符号?
【问题讨论】:
标签: python debugging ctypes lldb