如何在Eclipse中禁用热代码替换 [英] How do I disable Hot Code Replace in Eclipse

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

问题描述

目前,HCR的失败往往不如我。它一遍又一遍地弹出热代码替换失败对话框。我知道有一个复选框关闭它,但后来当我在做其他事情,我实际上希望对话框出现。另外,我现在不想要热插拔代码,我只想要调试器。



所以有一个设置的地方不要再显示对话框复选框,当我想重新启用它?更好的是,有没有办法让HCR开启和关闭时段?



BTW,据我所知,禁用自动构建不会禁用它。 / p>

解决方案

窗口/首选项 - > Java / Debug



与热代码相关的复选框替换。禁用它们都可以帮助你。


HCR is failing a lot more often than not for me at the moment. It keeps popping up the "Hot Code Replace Failed" dialog, over and over and over. I know there is a checkbox to shut it up, but later on when I'm doing something else I actually want the dialog to appear. Plus I don't want hot swapping code right now anyways, I just want the debugger.

So is there a setting someplace for that "do not show dialog again" checkbox, for when I want to re-enable it? Better yet, is there a way to turn HCR on and off period?

BTW, as far as I can tell disabling "Build Automatically" doesn't disable it.

解决方案

Window / Preferences -> Java / Debug

There are four checkboxes related to Hot Code Replace. Disabling them all should help you.

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

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