IntelliJ IDEA 14.1.0 Help

HotSwop

File | Settings | Build, Execution, Deployment | Debugger | HotSwap


Use this tab to manage the behavior of the HotSwap mechanism.

ItemDescription

Java

In this section, specify the behavior of HotSwap for Java:
ItemDescription
Make project before reloading classesThis option controls Run | Reload Changed Classes action behavior. If it's turned on, the make process is performed before searching and reloading changed classes.
Enable "JVM will hang" warningIf this check box is selected, then, on an attempt to perform HotSwap while JVM is suspended, a warning about the possible hanging of this JVM will be displayed.
Reload classes in backgroundSelect here whether you want to reload classes in background mode. This means, all progress messages will be displayed in a status bar.
Reload classes after compilationUse the controls in this area to configure behavior of the HotSwap mechanism.
  • Always - select this option to have classes reloaded automatically.
  • Never - when this option is selected, classes are not reloaded at all because the HotSwap mechanism is inactive.
  • Ask - select this option to have IntelliJ IDEA ask you whether to reload altered classes or not.

Groovy

In this section, specify the behavior of HotSwap for Groovy:
ItemDescription
Enable hot-swap agent for Groovy codeIf this check box is selected, then a special agent will be added to the debugged process in order to enable hot-swap for Groovy code.
If you don't want hot-swap, or this agent is getting in the way, clear this check box.

See Also

Last modified: 14 July 2015