小编nin*_*dra的帖子

.gdbinit配置文件与Xcode调试冲突

我的主目录中有一个相当庞大的.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上查看详细信息,看看我是否可以缩小问题范围

debugging macos xcode gdb

2
推荐指数
1
解决办法
3827
查看次数

标签 统计

debugging ×1

gdb ×1

macos ×1

xcode ×1