Eclipse调试器:“.settings不存在”错误

时间:2023-01-13 11:27:22

I am developing a C++ application in Eclipse under Ubuntu Linux 10.10. When I launch the application that I develop in debug mode then Eclipse correctly switches to the debug perspective, but it tries to open a file (?) called ".settings", which does not exist in my project directory (but there is indeed a directory with that name there). I can see that Eclipse supends the running thread at the right source code location (based on the stack trace), but that source file is not opened, nor does the "debug step" move the current instruction pointer to the next statement.

我正在Ubuntu Linux 10.10下在Eclipse中开发一个C ++应用程序。当我启动我在调试模式下开发的应用程序时,Eclipse正确地切换到调试透视图,但它尝试打开一个名为“.settings”的文件(?),这在我的项目目录中不存在(但确实存在那个名字的目录)。我可以看到Eclipse在正确的源代码位置(基于堆栈跟踪)提供正在运行的线程,但是该源文件没有打开,“调试步骤”也没有将当前指令指针移动到下一个语句。

It basically seems to be the same error as here: http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg08774.html -- unfortunately the solution there is to update Eclipse to 3.1.5, but I am using version 3.5.2 already, so that does not do the trick for me.

它基本上似乎与此处的错误相同:http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg08774.html - 遗憾的是,解决方案是将Eclipse更新为3.1.5,但是我已经使用版本3.5.2,所以这对我来说不起作用。

Any suggestions?

Thanks in advance, Matthias

先谢谢,马蒂亚斯

1 个解决方案

#1


0  

Try to open all projects that are on the source file's path. I've experienced something similar with Java and a hierarchical project and that did solve my problem.

尝试打开源文件路径上的所有项目。我经历过类似于Java和分层项目的事情,这确实解决了我的问题。

#1


0  

Try to open all projects that are on the source file's path. I've experienced something similar with Java and a hierarchical project and that did solve my problem.

尝试打开源文件路径上的所有项目。我经历过类似于Java和分层项目的事情,这确实解决了我的问题。