title: Disable JVM Hot Swap
body: <p>We are instrumenting byte code and we use Eclipse for software development.</p>
  
  <p>We now have to following problem: when debugging, Eclipse is replacing our instrumented code with the compiled code using hot swap since it detects that it was changed.</p>
  
  <p>In Eclipse I did not find any way to disable the feature: in the <em>Hot Code Replace</em> settings section I only see ways to enable/disable warnings.</p>
  
  <p>As already <a href="https://stackoverflow.com/questions/1170014/disable-hot-code-replace-for-the-eclipse-java-debugger">answered</a> we can <a href="http://wiki.eclipse.org/FAQ_What_is_hot_code_replace?" rel="nofollow noreferrer">disable auto build</a> but I wanted to ask if there is a way (an option) to tell the JVM to disable the hot swap feature?</p>
  
  <p>We could just start the JVM with the option disabled and we should not care about Eclipse or any other IDE/debugger swapping the code.</p>