Eclipse: editing and running code live
Asked Answered
L

2

7

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.

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?

Latterday answered 20/10, 2010 at 19:53 Comment(2)
Its probably got something to do with the eclipse compiler that was custom built.Digression
IDE agnostic: #4553853 Netbeans: #13001172Quintuplet
H
4

Its part of the JVM and its called HotSwap.

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

Haldes answered 20/10, 2010 at 20:4 Comment(1)
link is not working! please update or update the answer with link content.Cyr
R
3

This feature is usually called "hot code replace" and was introduced in Java 1.4 - it's part of the Java Virtual Machine Debug Interface and various APIs on top of that.

So it's not specific to Eclipse, but I don't think any of the command line tools that come with the JDK support it.

Rode answered 20/10, 2010 at 20:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.