我也跟着下面的教程http://developer.android.com/guide/developing/projects/projects-eclipse.html
和我有2个项目:启动项目和库项目。大多数源$ C $ C位于进库项目
and I have 2 projects : the starter project and the library project. Most of the source code is located into the library project
当我调试Android应用程序,当我把一个断点到Java,断点工作,但它位于库项目文件夹中的类文件(起动机项目)跳。
When I debug the android application and when I place a breakpoint into the java, the breakpoint work but it jump in the class file located in Library project folder (of the starter project).
我想停止在java code,所以我没有到源和编译code等修改源之间切换。这可能吗?
I would like to stop in the java code, so I don't have to switch between the source and the compiled code and so modify the source. Is it possible ?
关于
这是为我工作: (后在点击调试至少一次前)
Here is what worked for me: (After having clicked debug at least once before)
在Eclipse中打开调试视图(使用菜单顶部:窗口 - >显示视图 - >调试) 右键单击在调试窗口中的编辑源查找活动之一 单击添加 选择Java项目 勾选为Android库项目 preSS确定