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

Bug 364177

Summary: in EDT java debugger, no local variable can be shown when within functions
Product: z_Archived Reporter: Jing Qian <jqian>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P1 CC: jeffdouglas, jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jing Qian CLA 2011-11-18 11:35:40 EST
the problem is smap's function signature does not match what's generated in java

try the following program, and set break point, step into each function, you can not see local variable expanded in the debugger's variable view

package pgms;

// program
//
program myPgm
	
	
	function main()
		testSMap1(3, 4, 5);
		testSMap2(5.2, 3.4, 5.6);
		testSMap3(true, "09/04/2011", "2011/09/03 03:23:45");
		d dictionary = new dictionary();
		t int = 5;
		testSMap4(d, j, t);
		ss String[] = ["c"];
		ss = testSMap5(ss, "abc");
		e AnyException;
		testSMap6(e);
		ns String = testSMap7(null, null, null, null, null, null, null, null);
	end
	
	function testSMap1(a int in, b smallint in, c bigint in)
		s String;
	end
	
	function testSMap2(a decimal in, b smallfloat in, c float in)
		s String;
	end
	
	function testSMap3(a boolean in, d date in, t timestamp in)
		s String;
	end
	
	function testSMap4(a dictionary in, d any in, t number in)
		s String;
	end	
	
	function testSMap5(ss String[] in, a String in) returns (String[])
		s String[] = ["a"];
		return (s);
	end
	
	function testSMap6(exp AnyException in)
		s String;
	end
	
	function testSMap7(n1 int? in, n2 String[]? in, n3 any? in, n4 decimal? in, 
					n5 timestamp? in, n6 date? in, n7 number? in, n8 dictionary? in) returns (String?)
		s String?;
		return (s);				
	end					
end
Comment 1 Jeff Douglas CLA 2011-11-18 11:51:08 EST
fixed
Comment 2 Jing Qian CLA 2011-11-21 14:06:56 EST
verified on 201111210901's build