hotswap

'Hot code replace' not working — Eclipse doesn't change any code on JBoss

随声附和 提交于 2019-11-26 23:08:03
问题 I'm currently experiencing a problem with 'hot code replace' not working on Eclipse Galileo and JBoss 4.2.3. Among other applications I'm running an exploded Java WAR on my local JBoss. The project from which it is build is managed by Maven. I build the project using the Maven goal war:exploded and then I copy that directory to JBoss with an ANT script. When I'm now running the application and set a breakpoint anywhere in the code, Eclipse properly halts at that line in the debug mode. But

Change a method at runtime via a hot swap mechanism

拜拜、爱过 提交于 2019-11-26 17:19:27
Assume we have a trivial Java program that consists of just one class: public class HelloWorld { private static void replacable(int i) { System.out.println("Today is a nice day with a number " + i); } public static void main(String[] args) throws Exception { for(int i = 0; i < 100000; ++i) { replacable(i); Thread.sleep(500); } } After it's compiled and run, output will be this: Today is a nice day with a number 0 Today is a nice day with a number 1 Today is a nice day with a number 2 Today is a nice day with a number 3 ... My question: does there exist (or is there on the horizon) some way to

Is it possible to Edit and Continue in Visual Studio 2010 without pausing execution?

拟墨画扇 提交于 2019-11-26 16:16:57
问题 I recently watched a bit of Notch's Ludum Dare live stream. He uses Eclipse's hotswap feature extensively while he works on his game. (here is a video of what I am referring to http://www.twitch.tv/notch/b/302823358?t=86m30s) I would like to do the same with C# and XNA. Fortunately, Visual Studio has an Edit and Continue feature. However, I would like to edit my rendering code while it is running instead of pausing it. Is it possible for me to setup Visual Studio to do the same? I noticed

spring boot hotswap with Intellij IDE

可紊 提交于 2019-11-26 10:19:00
问题 I have a spring boot application running fine with Intellij IDE. i.e i started the Application class that has the main method which delegates to SpringApplication.run. Everything works great except hotswap. When I change the source, I am forced to re-start the application. Even If I start the application in debug mode, I dont see hotswap working. I could see that Intellij\'s Debug settings have hotswap enabled. My observation shows that when I run the springboot application, classpath used is

Redeploy alternatives to JRebel [closed]

只谈情不闲聊 提交于 2019-11-26 10:05:23
问题 JRebel allows for newly compiled code to be redeployed without restarting the application. I am wondering if there are any alternative (free?). The FAQ page answers this question, but I am sure it\'s biased towards JRebel. This question was asked a year ago on this site, but I am bringing it back up to see if anyone has any new information. On a side note, I really like JRebel, but if there is a free alternative, I am willing to try it. One additional note, I am working on an open source