Java Hotswap with Eclipses and Remote Debugging on Local Machine
问题 I'm trying to find out how to enable hotswapping of code while debugging with my build system and am coming up dry. I've got an Ant build with a debug target like so: <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>