简体   繁体   English

在Mac OS X上的Eclipse CDT未在首选项集中显示调试菜单

[英]eclipse cdt on mac osx not showing debug menu in preference set

I'm using eclipse with CDT on mac osx mavericks. 我在Mac OS X特立独行者上使用带有CDT的Eclipse。 I've installed gdb using macports. 我已经使用macports安装了gdb。 But I'm not able to set custom debugger in preference set. 但是我无法在首选项集中设置自定义调试器。
When I go to preferrnce->c++->Debug->? 当我去preferrnce-> c ++-> Debug->? there is no debug option where I can set custom debugger. 没有可用于设置自定义调试器的调试选项。 Online eclipse CDT documentation suggest debug menu in this preference set. 在线eclipse CDT文档建议在此首选项集中设置调试菜单。 I've tried Kepler as well as Luna but still issue persist. 我已经尝试开普勒以及Luna,但问题仍然存在。

I'm not sure what's wrong with my eclipse. 我不确定日食出了什么问题。 Please help. 请帮忙。 Thanks 谢谢

http://i.stack.imgur.com/RYD9A.png http://i.stack.imgur.com/RYD9A.png

Open "Debug Configurations" from the debugging icon, then choose Debugger tab and specify the gdb command path "eg /usr/local/bin/gdb" 从调试图标打开“调试配置”,然后选择“调试器”选项卡并指定gdb命令路径“例如/ usr / local / bin / gdb”

After that you have to give gdb permission to control other processes, follow steps mentioned in the reply of this question: debugging in eclipse using gdb on mac - Failed to execute MI command: -exec-run 之后,您必须授予gdb控制其他进程的权限,请按照此问题的答复中提到的步骤进行操作: 在mac上使用gdb在eclipse中进行调试-无法执行MI命令:-exec-run

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM