简体   繁体   中英

Eclipse debug in a wrong file?

I'm using eclipse and a problem confused me. I downloaded the project from svn and for the first time I tried to do the debug, "ClassNotFoundException" occurred. Even the file is in my project. So I added the file path and then I could do the dubug, BUT instead of the original file, the debug is executed in another file whose icon is a light blue "J".

As you can see in the image, the left one is the original file, the right one is where the debug is executed. The right icon is light blue. I think it indicate that the file is not in the project.

Now there are two problems, the first one is sometimes the "light blue" code is not the newest. The other problem is I cannot watch the expressions in the file.

Does anyone know how can I solve these problems? Thank you guys!

这可能是由于生成路径,检查类路径条目的顺序,如果已将原始项目添加为依赖项,则删除库。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM