如何在MacOS的XCode中指定可以使用的GDB [英] How to specify which GDB I can use in XCode on MacOS
本文介绍了如何在MacOS的XCode中指定可以使用的GDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何指定可以在MacOS的XCode中使用的GDB(具有完整路径)? 谢谢.
解决方案
您可以为Xcode设置 PBXGDBPath 用户默认值,以指定供Xcode使用的GDB的不同版本.
defaults write com.apple.Xcode PBXGDBPath <path/to/your/gdb>
How to specify which GDB (with the full path) I can use in XCode on MacOS? Thank you.
解决方案
You can set the PBXGDBPath user default for Xcode to specify a different version of GDB for Xcode to use.
defaults write com.apple.Xcode PBXGDBPath <path/to/your/gdb>
这篇关于如何在MacOS的XCode中指定可以使用的GDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文