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 60347 - Warn the user when Reset Results is used on Entire App CPU profiling.
Summary: Warn the user when Reset Results is used on Entire App CPU profiling.
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-21 16:31 UTC by ehucka
Modified: 2007-02-20 18:09 UTC (History)
0 users

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 ehucka 2005-06-21 16:31:30 UTC
build 050621

steps to reproduce:

1. start a CPU profiling
2. invoke Live Results
3. invoke Reset Collected Data

Result: Live Results window stays empty
Comment 1 ehucka 2005-06-22 13:15:21 UTC
I found it is failing only if I have enabled
"com.sun.tools.profiler.wireprotocol.WireIO" debug property.
Comment 2 iformanek 2005-06-22 13:32:08 UTC
Is there any exception on the console?
Comment 3 ehucka 2005-06-22 13:35:10 UTC
No, there is not.
Comment 4 ehucka 2005-06-22 14:25:53 UTC
I've just reproduced it without the property.
Comment 5 iformanek 2005-06-22 14:43:00 UTC
This is actually expected behavior. If you use Entire app profiling, and then 
reset results, no new results will appear unless the application enters one of 
the default root methods (either the main or run method of any newly started 
thread).

Changing this to enhancement, we should warn the user when CPU entire is used 
and he presses Reset results, similarly to what happens when changing 
instrumentation during app runtime to CPU Entire.
Comment 6 iformanek 2005-11-22 15:06:42 UTC
Addressed in M10, the Reset results in M10 works well, no need to warn.
Comment 7 ehucka 2006-10-09 12:09:15 UTC
Verification of old issues.
Comment 8 Alexander Kouznetsov 2007-02-20 10:26:09 UTC
Closing old issues
Comment 9 Alexander Kouznetsov 2007-02-20 18:09:34 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.