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.
If the marker method is invoked from the root method, data from marker method is not included in live snapshot. In tutorial mentioned in issue #153450 Performance.doCountPrimeNumbers() is marker method. The workaround is to use total instrumentation instead of lazy one.
Fixed in profiler-main changeset: 108180:b291a66f3ae8 user: Tomas Hurka <thurka@netbeans.org> date: Fri Nov 21 11:36:20 2008 +0100 summary: bugfix #153454, perform instrumentation of nearest callees if marker method is invoked under root method; emit MARKER_EXIT event even if marker method is invoked under root method - client side will handle it differently changeset: 108181:a79589d3ef5c user: Tomas Hurka <thurka@netbeans.org> date: Fri Nov 21 11:48:58 2008 +0100 summary: bugfix #153454, emit ROOT_ENTRY and ROOT_EXIT events if root method is invoked from marker method
Integrated into 'main-golden', will be available in build *200811220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b291a66f3ae8 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #153454, perform instrumentation of nearest callees if marker method is invoked under root method; emit MARKER_EXIT event even if marker method is invoked under root method - client side will handle it differently
The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate.
VERIFIED in Build 200811240201
Based on the offline discussion, the issue will be part of 65patch1. The fix has been ported into the release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/70e5dcc1cd99