Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 137809 - [variables] Toggle Logical Structure action does not work until scrolling
Summary: [variables] Toggle Logical Structure action does not work until scrolling
Status: RESOLVED DUPLICATE of bug 143805
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 14:31 EDT by Samantha Chan CLA
Modified: 2006-05-31 16:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samantha Chan CLA 2006-04-20 14:31:43 EDT
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);
		}


}
Comment 1 Samantha Chan CLA 2006-05-01 16:26:10 EDT
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");

	}
Comment 2 Darin Wright CLA 2006-05-31 16:55:42 EDT
This is caused by the problem described in bug 143805.

*** This bug has been marked as a duplicate of 143805 ***