pycharm debugger slow due to "collecting data"

Answered
Just starting out with pycharm and I like it a lot so far.  One problem though is that when debugging, the debugger seems to hang for many seconds when I step over/into/out with "collecting data" in the "variables" window.  It really hurts my productivity if I have to wait multiple seconds for each step over/into/out.

Anyone know what can cause this?  Not sure where to start looking.  I googled it of course but didn't come up with much.

specs: pycharm 3.4.1 and python 2.7.6.  Running pycharm on a CentOS VM, windows host.

thanks,

Jesse
2 comments
Comment actions Permalink

I know you posted this over four years ago, but in my experience, this can be resolved by collapsing any of the variables' sublists (or whatever you call them) so that the "Variables" window has to display as little as possible.  If all the variables are already completely collapsed, this may be a good time to consider isolating the variables into their own classes to manage them all.

0
Comment actions Permalink

Hi! There's a new special option in 2018.2 EAP for variable loading policy. "On-demand" should do the trick.

0

Please sign in to leave a comment.