Eclipse调试器 - 跳转到或仅显示挂起的线程 [英] Eclipse debugger - jump to or show only suspended thread

查看:539
本文介绍了Eclipse调试器 - 跳转到或仅显示挂起的线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含大量线程的Java应用程序。在调试时,当一个线程中的执行被断点停止时,在所有线程之间滚动以查找挂起的线程是非常烦人的。有没有办法(按钮,快捷键,等等)跳转到挂起的线程,或更好 - 隐藏所有未挂起的线程?

I have a Java application with a lot of threads. While debugging, and when execution in one thread was stopped by a break point, it's pretty annoying to scroll between all the threads to find the suspended thread. Is there a way (a button, shortcut key, whatever) to jump to the suspended thread, or better - to hide all not suspended threads?

推荐答案

我同意这很烦人,答案非常令人失望。
但我认为我找到了一种方式:

I agree it is very annoying, and the answer very disappointing. But I think I found kind of a way:


  • 选择调试视图

  • 键入 Ctrl-F 打开该视图的查找窗口

  • type * Suspen

  • 选择你想要的主题

  • select the Debug view
  • type Ctrl-F to open the Find window for that view
  • type *Suspen
  • select the thread you want

不理想,但为我做的工作。

Not ideal, but does the job for me.

这篇关于Eclipse调试器 - 跳转到或仅显示挂起的线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆