【问题标题】:eclipse debugger - stepping over only one method within anothereclipse调试器 - 只在另一个方法中单步执行
【发布时间】:2010-10-28 20:01:37
【问题描述】:

当调试器指针位于这一行“object1.method1(object2.method2());”时,为什么会跳过这两种方法,而不仅仅是方法2? 如果我想进入method1,我总是必须进入method2。通常method2是我不感兴趣的某种低级的东西。

【问题讨论】:

    标签: eclipse debugging


    【解决方案1】:

    将光标指向“method1”并按 Ctrl-F5(进入选择),或使用 Run / Step Into Selection 菜单,或 Ctrl+Alt-单击“method1”。

    【讨论】:

    • Eugene 我不确定我们使用的是同一个调试器,也许你已经以某种方式设置了它,但是 ctrl-click on method one 只是在编辑器中进入该方法,因为它没有调试并将光标指向方法1并按ctrl-f5进入方法2
    • 不好意思,是Ctrl+Alt-click,不过可以在Window/Preferences/General/Editors/Text Editors/Hyperlinking中配置
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多