在 Ubuntu 中按住 Ctrl 键单击时 Eclipse(CDT) 崩溃

发布于 2024-11-25 02:28:45 字数 542 浏览 2 评论 0原文

我对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眸中客 2024-12-02 02:28:45

我升级到Eclipse 3.7.0,这个问题得到了解决。不过,感谢您提供的有用建议。

I upgraded to Eclipse 3.7.0 and this problem was resolved. Thanks for the helpful suggestions, though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文