This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229076 - Add hot threads detector into Java Debugging View and set saturated thread as active on pause
Summary: Add hot threads detector into Java Debugging View and set saturated thread as...
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 13:31 UTC by NukemBy
Modified: 2014-12-27 11:33 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2013-04-26 13:31:20 UTC
Hi, 

when debugging highly multithreaded applications (50+ threads) in Netbeans it is really hard to find which thread is taking currently 100% of CPU. Probably i'm missing something in Netbeans UI, but i'd like to have following functionality:

1. In Debugging View - add column showing %CPU usage with ability to sort (and filter) by thread name or by %CPU usage.

Scrrenshot of Debugging View *without* CPU usage
https://netbeans.org/images_www/articles/70/java/debug-multithread/debugging-start-suspend.png

2. When pausing, have a checkbox somewhere to make the most saturated thread the current one and break into it.

Some techical info can be found 
here https://weblogs.java.net/blog/brucechapman/archive/2008/03/hot_threads.html
and 
here http://java.dzone.com/news/porting-hot-thread-detector-vi