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 145025 - No details for finished thread
Summary: No details for finished thread
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 16:05 UTC by Rashid Urusov
Modified: 2008-09-03 12:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid Urusov 2008-08-25 16:05:39 UTC
Product Version: NetBeans IDE Dev (Build 200808250201)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/tester/.netbeans/dev

Steps to reproduce:
Start profile  of Anagram Game
Choose Monitor application with unchecked Enable Threads monitoring
After some delay open Threads window
Invoke Treads details of main thread

In General tab of Details view I see :   Total: No data collected
When I tried to switch to Details tab in Details view tab automatically switched to General tab


When I Choose Monitor application with checked Enable Threads monitoring
I got following results for main thread
 0:00.000: Started
 0:00.000: Running
 0:00.101: Sleeping
 0:00.601: Running
 0:01.016: Finished

Should main thread be presented in thread list if we have no details for it because of delay of start thread monitoring ?
Comment 1 Jiri Sedlacek 2008-08-28 10:25:05 UTC
I think it's still useful to display that main thread was running even there are no data collected for it. It's
correctly displayed among finished threads, so the current state seems to be OK.

However, I've noticed a different bug - in Threads (Table) the main thread has been displayed with zero values which is
not correct and also not consistent, in Threads (Details) it's displayed with "-" placeholders.

Fixed for 6.5.


changeset:   98137:576e7ffb4269
date:        Thu Aug 28 11:20:17 2008 +0200
summary:     Bugfix #145025 Fixed finished thread appearance in table, fixed details tab switching
Comment 2 Quality Engineering 2008-09-01 17:30:20 UTC
Integrated into 'main-golden', available in build *200809011401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/576e7ffb4269
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #145025 Fixed finished thread appearance in table, fixed details tab switching
Comment 3 Rashid Urusov 2008-09-03 12:16:17 UTC
VERIFIED in build 200809021401