【发布时间】:2013-12-26 17:54:18
【问题描述】:
package com.test;
import java.util.TreeMap;
public class Main {
public static void main(String[] args) throws Exception {
TreeMap<String, String> tree = new TreeMap<String, String>();
tree.put("1", "1");//line a
tree.put("1", "1");//line b
System.out.println(tree.size());
}
}
我想调试 TreeMap put 方法,所以我为行(行 a,行 b)添加了两个断点。 Eclipse调试工具在调试时无法进入mentod。
我附上了eclipse的源代码。当我将鼠标放在 put 方法上时,按 F3 键,它可以转到 TreeMap put 方法源代码。我正在运行 Eclipse SDK 版本:3.2.2
【问题讨论】:
-
你检查过键盘快捷键吗?
标签: eclipse debugging step-into