I want to debug .class
files. For example some from the JDK. I downloaded the sources and attached them.
public File[] listFiles(FilenameFilter paramFilenameFilter)
{
String[] arrayOfString = list(); // now we here
if (arrayOfString == null) return null;
....
}
Then I type F6 and move to the next line. After that, I try to watch the value of arrayOfString
but I see the following:
Expression view:
Is it normal a situation? Is there a way to debug?
Update 1:
Update 2:
Update 3:
The problem is that the source/class files from the JDK are compiled without debug information and therefore eclipse can't inspect these vars. See this answer for more information.
To solve your problem you need to get a different rt.jar or compile it yourself