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

Bug 356135

Summary: Wrong source displayed for breakpoints in generated Java code
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-08-29 20:30:27 EDT
When using -Dedt.debug.filter.runtimes=false, with the SMAP builder is disabled, and the project cleaned, I should be able to debug at the level of the Java code not the EGL.  It works properly except when I've stopped at a breakpoint in the generated code.  In that case the .egl file, not the .java file, is displayed and stepping doesn't seem to work.

Commenting out line 65 of DebugTargetWrapper solved the problem: launch.setSourceLocator( director );
Comment 1 Justin Spadea CLA 2011-08-30 09:12:33 EDT
Fixed EGLPackageFragmentRootSourceContainer.java to only perform its source lookup when the target file has the 'egl' file extension (case-insensitive).
Comment 2 Matt Heitz CLA 2011-08-30 14:00:26 EDT
It's fixed.