Eclipse:实时编辑和运行代码 [英] Eclipse: editing and running code live

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

问题描述

在Eclipse中编辑Java代码时,我可以在代码以各种方式运行时对其进行修改,并使这些更改在不重新启动程序的情况下生效.

When editing Java code in Eclipse I can modify the code while it's running in various ways and have those changes take effect without restarting my program.

此功能的基础技术是什么?它是Eclipse的一部分,还是我可以使用命令行工具和JDK随附的工具来完成的事情?

What is the technology underlying this feature? Is it part of Eclipse, or is it something I can do with the command line tools and the tools that come with the JDK?

推荐答案

它是JVM的一部分,并称为HotSwap.

Its part of the JVM and its called HotSwap.

http://download.oracle.com/javase/1.4.2/docs/guide/jpda/enhancements.html

这篇关于Eclipse:实时编辑和运行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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