java - While debugging in eclipse, eclipse hides some variables -


I am assuming my program and facing some strange problem. I have a list fileList1 , which is a list of object files , which has 2 properties:

  filename version list  

Please refer to this picture, then you will understand my problem.

Enter image details here

I saw while debugging That when I am using fileList1 in the object files for loop, it works fine, the object files have been added. But when I remove FileList1, it does not show all the nodes information, for example, here you can see:

When I remove file list 1 [0], only the file name is shown < / P>

Then, when I extracted the file list 1 [2], then nothing has been shown, neither the filename or version list.

If I do not accidentally add anything to a particular file, then the minimum variable name, such as fileName and versionList with zero properties Should be shown. But its cases are not here In addition, sometimes, the fileName variable displays a value in the view of the debugger variable, and if I click to remove it, it shows another value.

I think the problem is with the debugger. It is not properly updated. My production is also coming strange. It seems that new entries are replacing the old entries, though I have the code fileList1 Add (file) is used, no function is used for the list. I do not understand what the problem is here.

I have already tested the internet and stack overflow for a solution. But the same topic was not found. Your help will be highly appreciated.


Comments