【问题标题】:Eclipse shortcut to switch from currently suspended thread to other suspended thread(s)从当前挂起的线程切换到其他挂起的线程的 Eclipse 快捷方式
【发布时间】:2017-08-22 07:05:45
【问题描述】:

我的 java 应用程序中的断点很少,它们都在不同的点挂起不同的线程。我经常需要通过暂停当前线程来切换到另一个线程,是否有 eclipse 捷径可以做到这一点?

目前,我转到调试选项卡并手动单击要切换到的线程的堆栈顶部。

【问题讨论】:

  • 我认为没有这样的捷径。
  • 您可以为命令 Show View (Debug)Suspend 添加快捷方式:Window > Preferences: General > Keys。使用 Show View (Debug) 焦点转移到 Debug 视图;使用 Up/Down 转到线程并使用 Suspend 暂停或 Resume (F8)

标签: java eclipse multithreading debugging keyboard-shortcuts


【解决方案1】:

Ctrl+Shift+B

两年前我试图寻找的是“切换断点”,而 Eclipse 中的默认快捷键是 Ctrl+Shift+B。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-04-09
    • 1970-01-01
    • 1970-01-01
    • 2012-04-18
    • 2014-09-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多