java - Why Eclipse doesn't show local variables values when I debug class file from JDK? -
i have following problem.
i want debug class files. example jdk.i downloaded sources , attached it.
public file[] listfiles(filenamefilter paramfilenamefilter) { string[] arrayofstring = list();//now here if (arrayofstring == null) return null; .... }
then type f6 , move next line. after try watch arrayofstring value see next:
expression view:
is normal situation?
is there way debug ?
update1
update2
update 3
the problem source/class files jdk compiled without debug information , therefore eclipse can't inspect these vars. see this answer more information.
to solve problem need different rt.jar or compile yourself
Comments
Post a Comment