问题
Possible Duplicate:
How do I disable Hot Code Replace in Eclipse
When you change Java code while in a debugging session, Eclipse will upload the updated class files into the running JVM (hot code replace). This even works for remote applications.
Is there a way to turn Hot Code Replace off (within Eclipse, not at the remote JVM)?
We want to be able to debug our test and staging servers remotely, but prevent unintentional updates to the builds that they are running.
回答1:
Here they say, that if HCR does not work, you may have 'automatic building' turned off.
So, maybe just switching off automatic building for debugging solves your problem.
来源:https://stackoverflow.com/questions/1170014/disable-hot-code-replace-for-the-eclipse-java-debugger