When I try to debug simple java code by stepping over each line, I can debug it successfully. But if I debug it by stepping into each line, I end up getting "Source Not found."
import java.util.*;
public class LocalClass {
public static void main(String[] args) {
System.out.println("Hello ! ");
Scanner scan = new Scanner(System.in);
String original = scan.next();
}
}
While debugging, I get the error in line 5 - Scanner scan = new Scanner(System.in); The suspended main Thread information shows "FileNotFoundException"
Note: After surfing through the Eclipse debugging related questions, I edited the source lookup path to point to my source code, but still chances of finding the solution ended in vain.
Can someone explain the reason for this error?