GoLand 2017.3 Help

Debugger. HotSwap

File | Settings | Build, Execution, Deployment | Debugger | - HotSwap for Windows and Linux
GoLand | Preferences | Build, Execution, Deployment | Debugger | - HotSwap for macOS
Ctrl+Alt+S
settings


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 checkbox 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 GoLand 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 checkbox 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 checkbox.

Enabling hot-swap agent may cause serialization problems in the debugged applications.

Last modified: 12 December 2017

See Also

Procedures: