Community
Participate
Working Groups
1. debug testcase with logical structure off 2. stop at declaration of lastNames 3. expand firstNames->elementData->[1] 4. turn on logical structure 5. scroll to the bottom of the view 6. turn logical structure off You will see that the variables view is not refreshed with logical structure off. I had to scroll back to the top of the view for the action to take effect. Testcase: public class TestVariables { static final int const1 = 0; public static void main(String[] args) { ArrayList<String> firstNames = new ArrayList<String>(3); firstNames.add("Homer"); firstNames.add("Seymore"); firstNames.add("Montgomery"); ArrayList<String> lastNames = new ArrayList<String>(3); lastNames.add("Simpson"); lastNames.add("Skinner"); lastNames.add("Burns"); System.out.println(firstNames + "\n" + lastNames); } }
I think this also affects updating in Expressions View with this testcase: * run testcase and add strings as watch expression to Expressions View If I hold down the step key with this testcase, updating seems to be ok as long as the top node is visible. If I scroll down, hiding the top two nodes, the watch expression is not updated at all as I step. I have to scroll to the top to get the children updated. public static void main(String[] args) { String[] strings = new String[1000]; strings[0] = "a"; strings[1] = "b"; for (int i=0; i<100;i++) { strings[i] = "hello"; } System.out.println("over over"); }
This is caused by the problem described in bug 143805. *** This bug has been marked as a duplicate of 143805 ***