开发者

Eclipse debugger - jump to or show only suspended thread

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 bet开发者_C百科ween 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:

  • 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.


Using "Eclipse IDE" and in the Debug window there's a down arrow dropdown in the top right of that window/section.

  • Click the vertical ellipsis (or the down arrow if using an Eclipse release earlier than 2019-12)
  • Click Java
  • "Show Running Threads" was defaulted to clicked for me
  • Click "Show Running Threads"

Go back into this dropdown and now it's unchecked, doesn't seem to work 100% but definitely trims down on the showing threads

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜