禁用热代码替换Eclipse Java调试器 [英] Disable Hot Code Replace for the Eclipse Java debugger

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

问题描述


可能重复:

如何在Eclipse中禁用热代码替换

当您在调试会话中更改Java代码时,Eclipse会将更新的类文件上传到正在运行的JVM(热代码替换)。这可以用于远程应用程序。

When you change Java code while in a debugging session, Eclipse will upload the updated class files into the running JVM (hot code replace). This even works for remote applications.

有没有办法打开热代码替换(在Eclipse中,而不是远程JVM)?

Is there a way to turn Hot Code Replace off (within Eclipse, not at the remote JVM)?

我们希望能够远程调试我们的测试和分段服务器,但可以防止对其正在运行的构建进行无意更新。

We want to be able to debug our test and staging servers remotely, but prevent unintentional updates to the builds that they are running.

推荐答案

他们说,如果HCR不起作用,您可能会关闭自动建筑。

Here they say, that if HCR does not work, you may have 'automatic building' turned off.

所以,也许只是关闭自动构建以进行调试解决您的问题。

So, maybe just switching off automatic building for debugging solves your problem.

这篇关于禁用热代码替换Eclipse Java调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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