Fix slow Intellij IDEA debugging
The story about debugging pain
TL;DR
Tune debugger options:
- Turn off Alternate view for Collections classes by clearing the Enable alternative view for Collections classes check box at the Data Views page of the Debugger settings.
- Turn off the ToString mode on the IDE level by clearing the Enable ‘toString’ object view check box on the Data Views page of the Debugger settings.
The Story
Ahoy!
Some time ago I started working with the Intellij IDEA and until that moment everything was great and flawless. But…
In one time my debugger just end. If I just run project everything was great, but each time when I start debug and fall down to some method from another class each Step Out took about ~5 second for small,~15 for medium classes and ~30 for large size classes.
After I face this issue I’m going to Google and found that I’m not alone.
Unfortunately nothing helps :( But in list of tons of opened tabs I found solution.
And, of course it was on official site, BOOM!
From all of point that was described in document I took only two:
- Turn off Alternate view for Collections classes by clearing the Enable alternative view for Collections classes check box at the Data Views page of the Debugger settings.
- Turn off the ‘ToString’ mode on the IDE level by clearing the Enable ‘toString’ object view check box on the Data Views page of the Debugger settings.
Meh. From now all going flawless. God, thanks for documentation! T_T