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.
Summary: | "Add as profiling root method" refuses to work in most positions | ||
---|---|---|---|
Product: | profiler | Reporter: | Jesse Glick <jglick> |
Component: | Base | Assignee: | Petr Cyhelsky <cyhelsky> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jlahoda |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jesse Glick
2009-01-07 00:01:04 UTC
This is not a defect, the feature works (already several years) as designed -> changing to ENHANCEMENT. I agree that resolving the root method should be more user-friendly: if there's no method at the caret, the profiler should try to resolve an enclosing method. However, there's a potential usability issue with this approach - whereas for example Find Usages action immediately displays a dialog with highlighted resolved element, the profiler uses a different workflow and doesn't display this information. It's not a good idea to continue with some guessed element without letting know the user. Implementing this enhancement requires some UI & workflow changes, not for 6.7. Integrated into 'main-golden', will be available in build *200903250219* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/97e9ab05b19b User: Jaroslav Bachorik <yardus@netbeans.org> Log: #156387 - improved handling of GoToSource for java files in live profiling results Milestone cleanup: future->next changing owner |