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

Bug 351987

Summary: Can't find source when stepping through a program whose name was aliased
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-07-13 10:58:16 EDT
Debug a program named "class.foo" - you won't be able to see its source when suspended in the program, because the Java name is "eze_class.foo". We need to handle aliasing.
Comment 1 Justin Spadea CLA 2011-07-13 15:51:40 EDT
Fixed JavaGenerator.java and StatementBlockTemplate.java to put the full file path into the SMAP as per JSR-045. This fixes the source lookup.

Previous:
1 foo.egl

Now:
+ 1 foo.egl
path/to/foo.egl


Also fixed EGLJavaFunctionContainerVariable.java to get the full path of the resource from JDT and convert it from "path/to/foo.egl" to "path.to.foo". This fixes the display name in the Variables view.
Comment 2 Justin Spadea CLA 2011-09-08 14:24:28 EDT
Verified