Fix slow Intellij IDEA debugging

The story about debugging pain

Aliaksandr Rasolka
2 min readFeb 1, 2018

TL;DR

Tune debugger options:

  1. 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.
  2. 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.
“A round light bulb giving off warm light” by Anthony Indraus on Unsplash

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.

wow! I’m not alone in the world of pain

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:

  1. 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.
  2. 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

--

--