I have a function with a large array computation (about 100k objects). After its computation it's impossible to continue debugging due to terribly slow "collecting data..." operation in variables frame of debugger. It takes about 40-60 seconds after each debugger step to "collect data" and then it says "Unable to display frame variables" (however, sometimes it's evaluated eventually). Then if i click "show execution point" debugger will show me variables anyway. But if I click on "show execution point" before it says "Unable to display frame variables" it will not show me variables after appearing of error message even if i click again :(
I think the problem is connected with evaluating of text representation of my large array because array of the same size but without text representation of its objects doesn't slow debugger down.
I've googled that there should be an option that will allow to disable evaluating of text representation for specified types of objects but I can't find it :(
(Configurable set of types to show as toString() by default, if I got it right)
I'm using PyCharm 4.0.5