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 114638 - Live Results are updated even auto-update disabled
Summary: Live Results are updated even auto-update disabled
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-04 14:44 UTC by Alexander Kouznetsov
Modified: 2007-11-02 13:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Video of issue (2.85 MB, application/octet-stream)
2007-10-31 19:10 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-09-04 14:44:22 UTC
Product Version: NetBeans IDE Dev (Build 200709040000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)

Steps to reproduce:
- Start CPU profiling of Anagram Game Application, Entire Application, Profile All Classes
- Open Live Results
- Disable Auto-update
- Play with application a lot (until results are updated)
- RESULT: Live Results are updated even auto-update mode is disabled.
Comment 1 Alexander Kouznetsov 2007-09-04 14:46:22 UTC
It seems to be a regression.
Comment 2 J Bachorik 2007-09-04 14:51:23 UTC
my fault. working on it
Comment 3 J Bachorik 2007-09-04 16:05:35 UTC
fixed
Comment 4 Alexander Kouznetsov 2007-10-09 09:27:24 UTC
Still reproducible in 200710071200
Comment 5 J Bachorik 2007-10-10 09:23:16 UTC
there was still a missing piece preventing the live results window to get updated on receiving the profiling results buffer

fixed
Checking in LiveResultsWindow.java;
/cvs/profiler/modules/main/src/org/netbeans/modules/profiler/LiveResultsWindow.java,v  <--  LiveResultsWindow.java
new revision: 1.2; previous revision: 1.1
done
Comment 6 Alexander Kouznetsov 2007-10-31 16:24:06 UTC
Still reproducible with 
Product Version: NetBeans IDE Dev (Build 200710301200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 7 J Bachorik 2007-10-31 16:44:50 UTC
checked with the following config:
Product Version: NetBeans IDE Dev (Build 200710310000)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b02
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

used AnagramGame as well as Java2D that generates a loads of data and once the auto-update is disable no new data are
displayed in live results
Comment 8 Alexander Kouznetsov 2007-10-31 19:10:41 UTC
Created attachment 52176 [details]
Video of issue
Comment 9 Alexander Kouznetsov 2007-10-31 19:11:20 UTC
See video.
Comment 10 J Bachorik 2007-11-01 09:39:28 UTC
ok. video helped when I slowed it down.
next time provide *ALL* steps leading to the observed behavior - it's crucial that right after disabling autoupdate you
click on manual update. without this step it's impossible to reproduce and I can play with application for hours ...
Comment 11 J Bachorik 2007-11-01 11:21:10 UTC
fixed

Checking in
netbeans-src/profiler/libs/jfluid-ui/src/org/netbeans/lib/profiler/ui/cpu/statistics/StatisticalModuleContainer.java;
/cvs/profiler/libs/jfluid-ui/src/org/netbeans/lib/profiler/ui/cpu/statistics/StatisticalModuleContainer.java,v  <-- 
StatisticalModuleContainer.java
new revision: 1.2; previous revision: 1.1
done
Checking in netbeans-src/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/BaseCallGraphBuilder.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/BaseCallGraphBuilder.java,v  <--  BaseCallGraphBuilder.java
new revision: 1.2; previous revision: 1.1
done
Checking in netbeans-src/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/CCTProvider.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/CCTProvider.java,v  <--  CCTProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in netbeans-src/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/cpu/FlatProfileBuilder.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/results/cpu/FlatProfileBuilder.java,v  <--  FlatProfileBuilder.java
new revision: 1.2; previous revision: 1.1
done
Checking in netbeans-src/profiler/modules/main/src/org/netbeans/modules/profiler/LiveResultsWindow.java;
/cvs/profiler/modules/main/src/org/netbeans/modules/profiler/LiveResultsWindow.java,v  <--  LiveResultsWindow.java
new revision: 1.8; previous revision: 1.7
done
Comment 12 Alexander Kouznetsov 2007-11-01 11:31:38 UTC
I agree. That was my fault. Will try to be more specific next time. 

Nevertheless, video is a good tool for such situations. Feel free to request it in advance if it doesn't seem to be easy
to reproduce the issue.
Comment 13 Alexander Kouznetsov 2007-11-02 13:55:17 UTC
Verified with
Product Version: NetBeans IDE Dev (Build 200711011200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)