Intelliji idea is very slow in debug mode and it is running perfectly in normal mode

后端 未结 10 1769
甜味超标
甜味超标 2021-02-14 08:41

Intelliji idea is very slow in debug mode and it is running perfectly in normal mode.

I already tried by setting the below thing in /etc/hosts file sudo nano /etc/hosts

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 09:31

    Remove breakpoints off your method and use them inside the method as that can cause your debug to take a very long time.

    Try running IntelliJ as admin. I had this issue at work where debugging was extremely slow and running as admin actually made it a lot faster.

    Method breakpoints may dramatically slow down debugging

    There is a simple explanation from the IntelliJ Team: "Method breakpoints will slow down debugger a lot because of the JVM design, they are expensive to evaluate"

    https://intellij-support.jetbrains.com/hc/en-us/articles/206544799-Java-slow-performance-or-hangups-when-starting-debugger-and-stepping

提交回复
热议问题