How to enable Intellij hot code swap

前端 未结 8 1485
清歌不尽
清歌不尽 2020-12-22 20:53

Intellij does not seem to be doing basic hot code swap on my installation.

For this code:

public class MainTest {
    public void method1() {
                


        
8条回答
  •  误落风尘
    2020-12-22 21:27

    After saving your class while waiting on your breakpoint just recompile your class with Build -> Compile 'MainTest.java' or press Ctrl+Shift+F9 with the standard key bindings.

    IntelliJ IDEA will then show a small dialog in which it asks you if you want to reload that class.

提交回复
热议问题