Eclipse调试器不能识别新的java代码 [英] Eclipse debugger does not recognize new java code

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

问题描述

我已经在我的javacode中添加了新的方法,并在此方法和不同的地方开始放置断点。 Eclipse调试器在旧代码中抛出断点,但不会在新添加的方法中。我清理了我的项目项目 - >清除排除缓存的可能性。对于我来说,看来eclipse不会识别新增的Java代码。



任何想法可能是什么问题?我使用eclipse Juno服务版本2.

解决方案

您需要停止调试并重新启动程序,因为签名已更改。如果您想要更多的热插拔功能,则需要考虑使用 JRebel 或类似的工具。


I have added new method to my javacode and put breakpoint at the begin of this method and different places. Eclipse debugger go throw the breakpoints in the old code but not in the new added method. I have cleared my project project-> clear to exclude the cache possibility. for me, it appears that eclipse dont recognize the new added Java code.

Any Idea what could be the problem? I use eclipse Juno Service Release 2.

解决方案

You need to stop debugging and start the program again since the signature has changed. If you want more hot-swap possibilities you need to consider using JRebel or similar tool.

这篇关于Eclipse调试器不能识别新的java代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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