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

Bug 87473

Summary: Source not found
Product: [Eclipse Project] JDT Reporter: David Pérez <david.perez.ingeniero>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Pérez CLA 2005-03-09 04:26:34 EST
Here is a full explanation of my problem

I have project A and project B.
Project A builds a JAR named myjar.jar with debug info and places it inside
project B.
Project B uses myjar.jar created in the previous step and uses additional JARs
as well.
For every JAR inside project B I specify its source path.  For myjar.jar I
specify A/src as its source path.

I create a debug launch configuration, and specify myjar.jar as the only
classpath, because it loads dynamically through a customn classloader the rest
of JARs.  

I add in the source path of the launch configuration every needed source path.

The problem is that the debugger doesn't find the source files for myjar.jar and
some other JARs files.  On the other side some other JARs files find their
source and files compiled inside project B.  I haven't found any logic in this
issue.

Nevertheless, I can stop in a breakpoint anywhere.

If I use Ctrl-Shift-T for finding a class source it works.

Can provide .project and *.launch files if needed.
Comment 1 Darin Wright CLA 2005-03-09 11:31:41 EST
It would be very helpful if you could attach an trimmed down example project
(s) that exhibits the problem. 
Comment 2 David Pérez CLA 2005-03-10 09:40:55 EST
Please, wait till tomorrow, now I'm a little busy.
Comment 3 Darin Wright CLA 2005-03-18 13:20:24 EST
Marking as later without further input.
Comment 4 David Pérez CLA 2005-04-04 05:17:57 EDT
After having removed the checkbox "Search for duplicate source files on the
path" and rebuilt the project now it works ok.  I haven't found the cause why
sometimes doesn't find source files.
Comment 5 Eclipse Webmaster CLA 2009-08-30 02:38:43 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.