Eclipse调试器运行错误的代码版本 [英] Eclipse debugger runs wrong version of code

查看:100
本文介绍了Eclipse调试器运行错误的代码版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我复制了一个Eclipse Java项目,并尝试在复制的版本上运行调试器。调试器使用旧项目的代码。在这种情况下可以做些什么?

I copied an Eclipse Java project and tried to run the debugger on the copied version. The debugger used the code of the old project. What can I do in this situation?

推荐答案

看看您正在使用的启动配置来启动调试器。在Package / Project Explorer中,右键单击 Debug As .. ,然后选择调试配置,并确保所有您正在使用与您的新项目一致的启动配置的详细信息。

Have a look at the launch configuration that you are using to start the debugger. In the Package/Project explorer, do right-click Debug As.. and then select Debug Configurations and make sure all of the details of the launch configuration you are using line up with your new project.

这篇关于Eclipse调试器运行错误的代码版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆