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

Bug 442406

Summary: Debugger can't find source code
Product: [Eclipse Project] JDT Reporter: Marcel Bruch <marcel.bruch>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie, rsc
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Marcel Bruch CLA 2014-08-22 11:50:19 EDT
I was remote debugging another eclipse instance. That debugged instance runs the same (at least almost the same) code as in the debugging host eclipse. When I set a breakpoint and it gets hit on execution, the debuging host fails to lookup the source code. Changing the classpath lookup etc. doesn't help. Is there any reason why this succeeds for half a second but then fails completely again (as shown in the video)?

http://tinypic.com/player.php?v=dfgf89%3E&s=8#.U_dls7x_uOA
Comment 1 Michael Rennie CLA 2014-08-25 08:58:23 EDT

*** This bug has been marked as a duplicate of bug 442330 ***
Comment 2 Stefan Cordes CLA 2014-08-25 10:58:05 EDT
Workaround:
Add Source Path in the launch configuration
_before_ connecting to the Remote VM.