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 244915 - Hitting profiling point "Reset Results" does not clear Methods view
Summary: Hitting profiling point "Reset Results" does not clear Methods view
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 13:36 UTC by Jiri Skrivanek
Modified: 2014-09-15 11:39 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 Jiri Skrivanek 2014-06-05 13:36:19 UTC
When profiling point "Reset Results" is hit it maybe resets collected results but it does not clear data from Methods view. To reproduce:

- create sample Anagram project
- open Anagrams.java
- move cursor to the first line of method nextTrialActionPerformed (line 251) and press Shift-F9
- confirm by OK button
- right-click project node and choose "Profile"
- select "Methods" and click "Profile" button to start profiling
- select Anagrams row and choose "Profile Class"
- click "Apply" button
- click something in profiled application to get some results
- click "New Word" button but results are not cleared in spite toolbar button "Reset Results" gets disabled and 1 hit appears in Profiling Points window


Product Version: NetBeans IDE Dev (Build prototypes-profiler-14-on-20140604)
Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Tomas Hurka 2014-07-09 19:08:41 UTC
Fixed in profiler-v2 branch.

changeset:   274692:43002c0cb6e6
branch:      profiler-v2
parent:      274678:7721da460bb0
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jun 05 14:19:46 2014 +0200
summary:     refresh data using MemoryCCTProvider.Listener and CPUCCTProvider.Listener