Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356525 - Variables view of multidimensional array is messed up
Summary: Variables view of multidimensional array is messed up
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 16:27 EDT by broy2 CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments
RBD (32.47 KB, image/png)
2011-09-01 16:27 EDT, broy2 CLA
no flags Details
EDT (38.28 KB, image/png)
2011-09-01 16:27 EDT, broy2 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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