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

后端 未结 10 1800
甜味超标
甜味超标 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:38

    After testing a lot of different solutions, I finally solved these slowness issues by switching my JDK from JDK 11 to JDK 8.

    0 讨论(0)
  • 2021-02-14 09:39

    I faced similar problem with the Eclipse also and found the solution. It is happening because your IntelliJ is using online Java and not using the same which is installed in your system.

    You should set the java path to your system one in the IntelliJ configuration. Below link will help you for the same:
    https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under

    Hope this will help you. :-)

    0 讨论(0)
  • 2021-02-14 09:45

    In my case i had more than 100 breakpoints active and this was the cause of this issue.
    I clicked Ctrl + Alt + F8 and disabled all the breakpoints.
    After that i enabled few new breakpoints i needed and all was ok.
    It seems that having a lot of active breakpoints causes this issue.

    0 讨论(0)
  • 2021-02-14 09:46

    I have solved a similar problem by disabling breakpoints; it was remote debugging. I did not make any performance measurements, but it looks like it is ok to have about 10 active breakpoints, but disastrous to have about 100 of them (I guess, the breakpoint list is sent over the network).

    Idea lets you to group breakpoints and disable the whole groups.

    Note that a click on the wrong mouse button clears your breakpoint instead of letting you edit its condition, so be careful!

    0 讨论(0)
提交回复
热议问题