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 103041 - [ProfilingPoints] Last active profiling points are used when Use defined Profiling Points is deselected
Summary: [ProfilingPoints] Last active profiling points are used when Use defined Prof...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-01 12:44 UTC by Alexander Kouznetsov
Modified: 2007-07-05 12:56 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 Alexander Kouznetsov 2007-05-01 12:44:05 UTC
Profiler 070427
NetBeans IDE 6.0 Preview (M9, build 070430)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Create New Anagram Game Sample Application
- Insert Reset Results Profiling Point somewhere in Anagrams.java, for example,
on the first line of guessedWordActionPerformed method
- Start Profiling: Analyze Performance, Entire Application, Profile All Classes,
Use defined Profiling Points
- Open Live Results
- Play with application to ensure that inserted profiling point is working as
expected
- Start new Profiling with the same parameters but disabled "Use defined
Profiling Points" option
- Open Live Results
- Play with application to ensure that inserted profiling point is hit
- RESULT: Results are reset even hits are not shown in Profiling Points window.

There are also the following lines in the message.log:
SEVERE: Cannot resolve ProfilingPoint for event: HitEvent [id=3, thread id=10,
timestamp=1282318591372142]
Comment 1 Alexander Kouznetsov 2007-05-01 12:49:18 UTC
You could also remove the profiling points at all, but they will still be working.
Comment 2 Jiri Sedlacek 2007-05-01 18:05:05 UTC
Thanks for catching it! Actually the same for all other Profiling Points, looks 
like last used configuration isn't reset.
Comment 3 Jiri Sedlacek 2007-05-01 18:43:30 UTC
Fixed for M10.
Comment 4 Alexander Kouznetsov 2007-05-11 13:16:29 UTC
Verification is blocked by issue 103489, issue 103449
Comment 5 Alexander Kouznetsov 2007-07-05 12:56:57 UTC
Verified with

Profiler 1.2 070703
Product Version: NetBeans IDE Dev (Build 200707031200) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)