让eclipse调试我的android PROJECT [英] Make eclipse debug my android PROJECT
问题描述
但是,如果我在编辑文件之前,请先尝试调试文件,首先点击该项目,IDE会想要调试该特定的Java文件。这不是我想要做的,我希望像往常一样在设备上构建和仿真/安装。
有没有办法在Eclipse中更改此行为?
在eclipse中,您可以设置工作区首选项/运行调试/启动,以始终启动以前启动的应用程序(直到您明确选择其他应用程序:那将是最后一个应用程序)。
这样,无论您按哪里(ctrl)F11或单击调试/运行按钮,您最后使用的启动配置将再次被调用。
您还可以通过显式调用其启动器(现在调试方式)启动不同的应用程序。
I am writing an Android application using Eclipse. When I click on the project in the left tree view and then click debug, the IDE builds an APK and installs in the emulator / device as expected.
However, if I'm editing a file and forget to first click on the project before attempting to debug, the IDE thinks I want to debug that specific Java file. This is NOT what I want to do, I would like it to build and emulate / install on device as usual.
Is there any way to change this behavior in Eclipse?
In eclipse, you can set in workspace preferences / run-debug / launching to always launch the previously launched application (until you explicitly choose an other application: then it will be the last that will be launched).
This way, no matter where you press (ctrl)F11 or click the debug/run button, the launch configuration you used the last time will be called again.
You will still be able to launch different applications of course, by explicitly calling their launchers (the way you debug now).
这篇关于让eclipse调试我的android PROJECT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!