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 269296 - Profiling point isn't hit, doesn't produce result
Summary: Profiling point isn't hit, doesn't produce result
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 18:49 UTC by hansabbink
Modified: 2017-01-06 09:21 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 hansabbink 2016-12-10 18:49:28 UTC
I have a fairly simple "hello world" style project with two profiling points. One to reset results, a second a few lines later to "Take Snapshot". Neither appears to get "hit" and the second one doesn't produce results. I've tried it in different modes, a.o. "Methods" and "Objects". 

I'm running NetBeans 8.2, using Maven, on JDK 1.8.0_66, in 64 bit mode.
Comment 1 hansabbink 2017-01-06 09:21:37 UTC
I've found the problem and it's me. 

Profiling points are only hit in case of "instrumented runs" and I was doing "sampled runs". 

The confusion was probably caused because the new profiling GUI initially guides you to the "configure profiling" drop-down menu at the top-left of the window. Once you've done that and made your choices, e.g. "methods", a second menu button appears at the top-right in the menu bar of the same window. That's what you need to click to get an additional drop down labeled "profile:" that in turn offers the choice between "sampled" and "instrumented".