Today team a small partner debugging projects, accidentally selected the wrong source file directory (Maven sub-module project), selected the top-level parent project under the file, the results of debugging found unable to view the value of variables during debugging, to solve this problem, in fact, is very simple, a little configuration can be, in order to facilitate other small partners to check, Simply record it.
Step: Find Debug Bug--select ' Debug Configurations '--to the left of the popup box to find the corresponding project--Select the right source configuration--Modify ' source Lookup Path ' as ' WorkSpace ' and tick ' Search for duplicate source files on the path '--' Apply ' will be OK.
See figure (Need to delete the original default):
FIX: Eclipse breakpoint debugging enters class file, cannot view variable value problem