Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356135 - Wrong source displayed for breakpoints in generated Java code
Summary: Wrong source displayed for breakpoints in generated Java code
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-08-29 20:30 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments

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