“活动配置中存在错误...”调试时的Eclipse对话框 [英] "Errors exist in the active configuration..." Eclipse Dialog when Debugging

查看:1902
本文介绍了“活动配置中存在错误...”调试时的Eclipse对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

项目X的活动配置中存在错误。继续启动?在Eclipse中调试代码时出现对话框。点击继续按钮可以调试成功。启动配置没有明显的错误。类似的运行配置不会产生错误。

An "Errors exist in the active configuration of project X. Proceed with launch?" dialog appears while debugging code in Eclipse. Hitting the "Proceed" button results in successful debugging. There are no apparent errors with the launch configuration. A similar Run Configuration does not generate the error.

推荐答案

这是由于Eclipse项目设置中某处的无效路径引起的。有一些这种错误的常见来源。

This is caused by an invalid path somewhere in your Eclipse project settings. There are a couple common sources for this kind of error.


  1. 您正在开发一个共享(版本控制,复制等)项目某人在您的计算机上硬编码不存在的路径,或使用未设置的环境变量。

有时,您可以通过查看错误消息的完整列表来查找违规路径。如果没有,请查看您的项目文件。

Sometimes, you can find the offending path by looking at the full list of Error messages. If not, look in your project file.


  1. 项目属性中的发现选项具有自动发现路径和符号启用 - 但是进程正在生成错误。

如果您使用的一个版本的Eclipse会警告您此选项已被弃用,请取消选中该选项以禁用它并修复任何包含在'预处理器包含路径'中。如果不。 。

If you're using a version of Eclipse that warns you this option is deprecated, uncheck the option to disable it and fix any includes in 'Preprocessor Include Paths' instead. If not. . .try it anyway.

根据您的路径更改,重新启动Eclipse,然后重试。

Depending on your path changes, restart Eclipse and try again.

这篇关于“活动配置中存在错误...”调试时的Eclipse对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆