开发者

Copied Project Steps Through Original Project When Debugging in Ecplise

I copied a project within eclipse (version 3.4.2) to create a new instance of the开发者_运维技巧 project. Everything seems to work as expected except when I debug the project. I put a breakpoint in a file of the copied project and when it breaks, it displays the file from the original project. The debug information like variable values, etc seem to be from the new project though. I have replaced some files in the new project, so they are different.

The projects are tomcat java projects. I did change the debug config to point to the new project. All the paths I've found seem to be right, but I think I'm just missing one little part and I'm not sure what else to look at.

Any one else run into this?


Did you have a look at the source path and the build path of the project? Also, have a look at the classpath of the launcher you are using, it can be different from the project's build path.

If it is none of these, you can try closing the original project, then whatever in Eclipse tries to access your old project should complain. The error message should help you find the culprit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜