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.
Product Version: NetBeans IDE Dev (Build 200808190201) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-120 System: Mac OS X version 10.4.11 running on i386; MacRoman; en_US (nb) The state column of threads view shows incorrect state for one of threads(AWT-EventQueue-0) - see the attached screenshot - the debugging view, tooltip on the thread in threads view and the choice of enabled items in popup menu on it(resume enabled) are as if the thread is waiting, but in the state column it is "running" Steps to reproduce: just start the memory Viewer application and open threads view
Created attachment 67838 [details] screenshot - tooltip and state disagree
Created attachment 67839 [details] popup menu items and state disagree
Mac specific or random (not reproducible for me on Windows). Nevertheless, thread state is correct in Debugging View which should be used prior to Threads View. Decreasing priority to P4.
This is not a random issue nor Mac specific issue. I am able to reproduce it on my Ubuntu 9.04 with NetBeans 6.9.1 on Java 6 update 22. Steps to reproduce: =================== 1. Generate new AnagramGame sample project. 2. Press Ctrl+F5 to start debugging main project. 3. Invoke "Window > Debugging > Threads" from main menu. 4. You will see that although AWT-EventQueue-0 is running in Debugging view, the Threads tab will claim the same thread as Waiting. 5. If you suspend it, the Debugging view will correctly state Suspended but Threads will still show Waiting state.
The previous comment describes something different, which is actually O.K. Debugging window displays just two thread states - running or suspended. Tooltip on the thread displays the state in the VM (regardless of debugger suspended state) - waiting, sleeping, running,... Threads view displays the state in the VM in the "State" column and debugger suspend state in the optional "Suspended" column.
The text in the State column looks O.K. now.