title: Eclipse java debugging: source not found
body: <p>While debugging a java app in eclipse I receive a "<strong>Source not found</strong>" error in two cases:</p>
  
  <ul>
  <li>Stepping in to a file in a different project which is already imported</li>
  <li>Stepping in to a file in an installed maven repository</li>
  </ul>
  
  <p>The files are there, but eclipse won't step into them, instead it shows a button to "<strong>attach source</strong>"</p>
  
  <p>I tried attaching (which opened a dialog to define a variable?!) and eclipse did jump to the file, but the debugger could not inspect any variables there. Also manually attaching the source for each dependency isn't practical, as in my case there are thousands of dependency files.</p>
  
  <p>I'm new to <em>eclipse\java</em> so an explanation of why this is happening + how to resolve this would help a lot!</p>