Community
Participate
Working Groups
Sometimes the expanding and collapsing variables in the variables view is very slow. Using the simple example below with a breakpoint set inside the while loop I got very fast exapnsion/collapsing when: 1) The Variables view is not maximized 2) I had expanded the properties variable in the maximized view and then expanded the tables variable It got considerably slower to expand and collapse the tree when 1) I maximized the variables view and then the properties variable. I expanded nothing else and it was noticably slower. Here is the test class import java.util.Enumeration; import java.util.Properties; public class VariablesTest { public static void main(String[] args) { Properties properties = System.getProperties(); Enumeration elements = properties.elements(); while(elements.hasMoreElements()){ String nextElement = (String) elements.nextElement(); System.out.println(nextElement); } } }
This is a general problem - you can also see it in the pacakges view and the outline view. Moving to Platform UI. I whipped up an SWT Example but I could not replicate the behavior there.
SWT issue. See Bug 14033
*** This bug has been marked as a duplicate of 14033 ***