我的主目录中有一个相当庞大的.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"
Run Code Online (Sandbox Code Playgroud)
实际上 - 如下所示 - 调试仍在Xcode中工作,但数据格式化程序中断.移出.gdbinit或禁用数据格式化程序确实让Xcode中的gdb恢复到工作状态,但这显然很痛苦(包括数据格式化程序,在第一种情况下)
想知道gdbinit中的哪些设置可能会导致Xcode出现此错误?
回复注意:似乎(从谷歌搜索),链接到wxWidgets库时可能会发生此错误.我不在这里做的事情.
注意:如果需要,我可以提供我的(长).gdbinit的副本
WIP:我将在我的.gdbinit上查看详细信息,看看我是否可以缩小问题范围