Suzan Cioc
Suzan Cioc

Reputation: 30097

Detailed java thread state in eclipse debugger?

Is it possible to see detailed JVM thread state in eclipse debugger? For example, which monitors thread has, which ones it waits for etc?

This would help to debug concurrent hangs.

Upvotes: 1

Views: 1138

Answers (1)

Konrad Reiche
Konrad Reiche

Reputation: 29493

This is not supported by the Eclipse Debugger nativly, what you want is a Profiler

and many more. You can then start the debugging in Eclipse and connect the profiler program remotely to your running JVM instance. VisualVM also offers an Eclipse launcher.

YourKit has different features regarding concurrency, for instance Monitor profiling. There you will get detailed information about the threads and their interaction.

enter image description here

Upvotes: 3

Related Questions