在 Ubuntu 中按住 Ctrl 键单击时 Eclipse(CDT) 崩溃
我对 Eclipse 比较陌生,我试图浏览我创建的现有 C++ 项目。然而每次我尝试&使用 ctrl 键单击函数调用 - Eclipse 崩溃了,而不是带我到声明(或者是定义?)。
我在 64 位 Ubuntu 上运行 Eclipse 3.2。我尝试按照建议在 ~/.eclipse/eclipserc 中设置 -XX:-UseCompressedOops
这里,但这导致:
/home/dp/.eclipse/eclipserc: line 1: -XX:-UseCompressedOops: command not found
任何建议将不胜感激! TIA。
注意:顺便说一句,我在 ~/.eclipse 中没有找到 eclipserc 文件,所以我只是创建了一个新文件,其中只有一行(即 -XX:-UseCompressedOops
)。
I am relatively new to Eclipse and I was trying to browse thru an existing C++ project I created. However every time I try & use ctrl-click on say a function invocation - instead of taking me to the declaration (or is it the definition?), Eclipse crashes.
I am running Eclipse 3.2 on 64-bit Ubuntu. I tried setting -XX:-UseCompressedOops
in ~/.eclipse/eclipserc as was suggested here, but that resulted in:
/home/dp/.eclipse/eclipserc: line 1: -XX:-UseCompressedOops: command not found
Any suggestions would be greatly appreciated! TIA.
Note: Btw, I didn't find an eclipserc file in ~/.eclipse, so I just created a new one with just the one line in it(being -XX:-UseCompressedOops
).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我升级到Eclipse 3.7.0,这个问题得到了解决。不过,感谢您提供的有用建议。
I upgraded to Eclipse 3.7.0 and this problem was resolved. Thanks for the helpful suggestions, though.