I am trying to figure out how to enable hot code tuning during debugging with my build system and I am dry.
I have an Ant build for debugging, for example:
<target name="debug_dev" depends="compile"
description="Runs development version with the debugger.">
<java classname="applets.TabHandler" fork="true" dir="build">
<jvmarg value="-Xdebug" />
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
<classpath refid="compile_classpath" />
</java>
</target>
Then I use the remote debugging option in Eclipse to connect to port 8000. Debugging works fine, but I canβt edit the code as I was before I used Ant. I know that you can start hotswapping with JBoss, Tomcat and other situations, but I just run my program locally with a JVM call, as you can see from above.
Does anyone know if this is possible with my setup?
Thank!
source
share