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

enter image description here


update2

enter image description here

update 3

enter image description here

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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -