简体   繁体   English

使用Eclipse在Java类中调试时的代码更改

[英]Change in code while debugging in java class with eclipse

While debugging a java class. 在调试Java类时。 If I change only a single line, then is there a need to do a clean install and rerun the server. 如果仅更改一行,则需要执行全新安装并重新运行服务器。 How to make it possible to do a change in the class and save the class and then able to debug with the new code without doing a clean install and again server up. 如何在类中进行更改并保存类,然后能够使用新代码进行调试,而无需进行全新安装和服务器重新启动。

I am not sure if I understood the problem fully. 我不确定我是否完全理解问题。 But as far as I know, you need to recompile so that op codes of .class files are changed corresponding to every change in code so that it is reflected at the server end where the project is deployed. 但是据我所知,您需要重新编译,以使.class文件的op代码与代码中的每次更改相对应地更改,以使其反映在部署项目的服务器端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM