【发布时间】:2010-09-13 19:56:49
【问题描述】:
我的主目录中有一个相当大的 .gdbinit(因此这里没有复制)。
现在,如果我想在 Xcode 中调试代码,我会收到以下错误:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was:
0x1005c5 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib, 16): image not found"
实际上 - 如下所述 - 调试在 Xcode 中仍然有效,但数据格式化程序中断。移出 .gdbinit 或禁用 Data Formatters 确实让 Xcode 中的 gdb 恢复工作状态,但这显然很痛苦(包括数据格式化程序,在第一种情况下)
知道 gdbinit 中的哪些设置会导致 Xcode 中出现此错误吗?
来自回复的注释:似乎(来自谷歌搜索)链接到 wxWidgets 库时可能会发生此错误。我没有在这里做的事情。
注意:如果需要,我可以提供我的(长).gdbinit 的副本
WIP:我将在我的 .gdbinit 中查看详细信息,看看是否可以缩小问题的范围
【问题讨论】: