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

Bug 363348

Summary: Variables flicker debugging library when function is same name as library name
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jspadea, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fixes qualification conflicts when function name = part name lasher: iplog+

Description broy2 CLA 2011-11-09 11:17:15 EST
Use EUNIT to debug.

Create a library with name: formatSmallInt.
Change code to :
library formatSmallInt	
	mySmallInt smallInt;
	myString string;
    function formatSmallInt(){@Test}
    	mySmallInt = 1005;
        myString = stringLib.format(mySmallInt, "$+***,***");
        LogResult.assertStringEqual1( "$+**1,005", myString);
    end	
end

Set breakpoint on: mySmallInt = 1005;

Generate EGL Test Driver > JavaScript.
In eunits.javascript project, select EGLSource > eunitgen > RunAllTests_rui.egl.
Debug As > EGL Rich UI Application.

Expand formatSmallInt in Variables view.
On breakpoint, step to next statement.
Value of mySmallInt in Variables view didn't change.
Collapse formatSmallInt in Variables view.
Variables view starts flickering.
Comment 1 Brian Svihovec CLA 2011-11-14 11:24:34 EST
If this fix is not simple and safe, we should defer this until 1.0.
Comment 2 Justin Spadea CLA 2011-11-14 14:14:28 EST
Created attachment 206977 [details]
Fixes qualification conflicts when function name = part name

This problem is an edge case and since we're so close to releasing, this is not important enough to go in. I'll commit the fix right after 0.7 is released.
Comment 3 Justin Spadea CLA 2012-01-04 09:58:43 EST
Patch has been released
Comment 4 Lisa Lasher CLA 2012-01-13 14:00:30 EST
closing defect