Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364177 - in EDT java debugger, no local variable can be shown when within functions
Summary: in EDT java debugger, no local variable can be shown when within functions
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 11:35 EST by Jing Qian CLA
Modified: 2017-02-23 14:19 EST (History)
2 users (show)

See Also:


Attachments

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