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 95777 - Some methods are not profiled using global attach
Summary: Some methods are not profiled using global attach
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-16 10:14 UTC by Alexander Kouznetsov
Modified: 2007-02-26 14:12 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-02-16 10:14:51 UTC
Profiler 070216
NetBeans IDE Dev (Build 200702151900)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
SunOS version 5.10 running on x86
en (nb); ISO646-US

1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Build Anagrams Game application
- Profile it using Direct Attach in Global Attach Project mode. Select Analyze
Performance, Entire Application, Profile All Classes.
- Play with the application
- Open Live Results, take a snapshot
- RESULT: Only public methods of com.toy.anagrams.* subpackages are shown, for
example, nextTrialActionPerformed method is not shown.
Comment 1 Tomas Hurka 2007-02-16 16:49:52 UTC
It turns out that it has nothing to do with private methods. Anagrams.main() is the only instrumented 
method in Anagrams class. 
Fixed in trunk.
Comment 2 Alexander Kouznetsov 2007-02-26 14:12:39 UTC
Seems to be fixed. Verified with

Profiler 070226
NetBeans IDE Dev (Build 200702251900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251