Eclipse Indigo SR2 - 调试AbstractMap时无法显示变量值

时间:2016-10-27 01:39:20

标签: java eclipse

在此处运行一个非常简单的代码段:

 public static void main(String[] args) {
        HashMap<Integer, String> map1 = new HashMap<Integer, String>();
        HashMap<Integer, String> map2 = new HashMap<Integer, String>();
        map1.put(1, "A");
        map1.put(2, "B");
        map2.put(1, "A");
        map2.put(2, "B");
        boolean b = map1.equals(map2);
        System.out.println(b);
    }

当我进入AbstractMap的等于方法时,将鼠标悬停在它们上方时,不会显示任何变量的值:

enter image description here

enter image description here

断点正常工作,但无法观察任何变量的值。我的日食工作正常,但只能调试AbstractMap

0 个答案:

没有答案