Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363348 - Variables flicker debugging library when function is same name as library name
Summary: Variables flicker debugging library when function is same name as library name
Status: CLOSED FIXED
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: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 11:17 EST by broy2 CLA
Modified: 2017-02-23 14:16 EST (History)
2 users (show)

See Also:


Attachments
Fixes qualification conflicts when function name = part name (3.91 KB, patch)
2011-11-14 14:14 EST, Justin Spadea CLA
lasher: iplog+
Details | Diff

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