Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356525

Summary: Variables view of multidimensional array is messed up
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
RBD
none
EDT none

Description broy2 CLA 2011-09-01 16:27:05 EDT
Build Identifier: 20110901

Debug the following program.
program bug type BasicProgram {}
	
	myINTList     INT[] = [1,2,3];
	mySTRINGList  STRING[] = ["bye", "ciao"];
	myBooleanList BOOLEAN[] = [ (10000 > 50000), (10000 < 50000) ];   
	my2Dimension  INT[][] = [[1,2],[3,4]];
	myString string;
	
	function main()
		myString = my2Dimension[1,1];
		sysLib.writeStdout(myString);
	end
	
end

Reproducible: Always

Steps to Reproduce:
1. Set a breakpoint in the program bug.
2. Debug the program.
3. Look at my2Dimension in the variables view.
4. Weird.
5. Compare to RBD in attached screen shots.
Comment 1 broy2 CLA 2011-09-01 16:27:30 EDT
Created attachment 202639 [details]
RBD
Comment 2 broy2 CLA 2011-09-01 16:27:52 EDT
Created attachment 202640 [details]
EDT
Comment 3 Justin Spadea CLA 2011-09-12 15:57:24 EDT
Fixed:

VariableUtil
DefaultVariableAdapter
EDTVariableAdapter
ListVariable
Comment 4 broy2 CLA 2011-09-14 10:11:27 EDT
Verified in 20110914