Eclipse的android项目总是在调试中高兴 [英] Eclipse android project always lauching in debug
问题描述
但几天前,没有我做任何我知道的事情,我的项目一直是无论我尝试什么(点击调试或运行都给我相同的结果),启动调试。我尝试查看项目设置和构建配置,但看不到任何理由。
所以现在每次启动应用程序我必须去调试标签并点击断开连接...
任何想法
您是否检查了运行配置菜单?您可能会有一些无关的配置,当您选择启动项目时,Eclipse是默认配置。
否则,会出现一个名为在调试模式下启动的选项工作空间中包含断点运行/调试 - >启动首选项页面。您可能需要检查以确保此选项未启用。
作为面对这些怪癖的最后手段,我有时会创建一个新项目并复制我的源文件(提供的项目不是很大)。关闭和重新启动Eclipse有时候对我来说也是奇迹。
I feel silly asking this and even more silly to have this problem. I have a android project that has been executing fine until now.
but a couple of days ago, without me doing anything particular that I know of, my project has been always launching itself in debug no matter what I try (clicking on the debug or run gives me the same result). I try looking in the project settings and the build configuration but can't see anything justifying this.
so right now each time I launch the app I have to go to go to debug tab and click on disconnect...
Any ideas
Have you checked your run configurations menu? You might have some extraneous configurations in there that Eclipse is defaulting to when you choose to launch the project.
Failing that, there is an option called "Launch in debug mode whenever the workspace contains breakpoints" in the Run/Debug -> Launching preference page. You might want to check to make sure that this option is not enabled.
As a last resort when facing these kinds of quirks I will sometimes create a new project and copy over my source files (provided the project is not very large). Closing and re-launching Eclipse sometimes works wonders for me as well.
这篇关于Eclipse的android项目总是在调试中高兴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!