eclipse-jdt / eclipse-jdt/eclipse.jdt.debug

[debug] show more advanced thread state

Open
#708 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
23
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
13

Description

Currently the Debug view shows only quite basic thread state e.g running / suspended.

What I often encounter when I want to analyze some kind of blocking/slowness is that I need to suspend all threads and then look at the thread-dump and identify if the thread is currently in some kind of waiting mode or actually doing something useful.

One example is `EPoll.wait(int, long, int, int)` or `Unsafe.park(boolean, long)` and alike that usually indicate that the thread is NOT running but waiting for some events.

JProfiler has a nice "Thread History" view that shows Threads in different states here is one example:

![grafik](https://github.com/eclipse-jdt/eclipse.jdt.debug/assets/1331477/e7e2fd3b-8e99-4f1a-ad65-b7809a82d4ca)

Here are all supported states:
![grafik](https://github.com/eclipse-jdt/eclipse.jdt.debug/assets/1331477/69edd894-0aa0-413a-b225-fa292b9c1fc3)

It would be great if JDT could also show these (as it seems to be supported somehow) maybe even using different icons so one gets a faster overview about what the Thread is currently doing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.