Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351987 - Can't find source when stepping through a program whose name was aliased
Summary: Can't find source when stepping through a program whose name was aliased
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 10:58 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:16 EST (History)
0 users

See Also:


Attachments

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