Eclipse debugger - jump to or show only suspended thread

前端 未结 2 1821
南旧
南旧 2021-01-31 09:23

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

相关标签:
2条回答
  • 2021-01-31 10:12

    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 讨论(0)
  • 2021-01-31 10:15

    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.

    0 讨论(0)
提交回复
热议问题