Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361575 - JS debugger variable view shows timestamp value as '$inst' is undefined
Summary: JS debugger variable view shows timestamp value as '$inst' is undefined
Status: CLOSED DUPLICATE of bug 361301
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 12:37 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments

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