Search code examples
javadebuggingintellij-idea

IntelliJ IDEA stucks at "collecting data" while debug


I'm using IntelliJ IDEA to debug remote tomcat application.

It works perfect before.

However, for recent times, it always get stuck at "collecting data", though the data is very small.

I have searched on this site, and tried:

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

IntelliJ freezes for about 30 seconds before debugging

Still does not work


Solution

  • I find this happens only when I open both Thread View and Variable View, like this

    enter image description here

    So I closed the Thread View, and it became much faster:

    enter image description here