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

Bug 361575

Summary: JS debugger variable view shows timestamp value as '$inst' is undefined
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-10-20 12:37:33 EDT
Use the eunit framework to run these variations
package lang.expression.parameter;

library TimestampParameters001
    
     function testFunctionParameterIn3() {@Test}
   		try
		updated timeStamp("yyyyMMddHHmmss") = "1965-10-11 09:55:55";
		time1 timeStamp("yyyyMMddHHmmss") = "1965-10-11 09:11:11";
		time2 timeStamp("yyyyMMddHHmmss") = "1965-10-11 09:22:22";
		time3 timeStamp("yyyyMMddHHmmss") = "1965-10-11 09:33:33";
			LogResult.passed("OK");
		onException(oops anyexception)
			details string = "exception " + oops.message;
			LogResult.failed(details);
		end
    end	
 
end

Place a breakpoint on the declaration of time2.  Generate the eunit driver. Select RunAllTests_rui and use Debug As EGL Rich UI Application. Variable view will display '$inst' is undefined as the value for time1 and updated.
Comment 1 Justin Spadea CLA 2011-10-20 13:03:28 EDT

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