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.
The Get Results aqction is currently enabled all the time when some real profiling is selected, but can result in "No Results available" message being displayed. The profiler should indicate to the user that some results became available, esp. in cases of CPU profiling of Part of application, where the moment of reaching the root method might not be obvious.
Misha, is this possible with the current engine functionality to detect the moment when results become available?
It is possible, but it is not straightforward. The most reliable solution is for the tool to query the server periodically for results, until something becomes available. Sort of a conditional "auto-update" under the covers. Not sure whether the importance of this feature will justify the resulting complication of our code... but we may try this at some point.
I actually see this feature as fairly important - esp. with the concept of root methods, the results availability is not entirely straightforward, and the user may end up clicking Get Results like crazy only to get "No results available" screen over and over. This can get even more error-prone with the instrumentation filters, which may further influence when/whether results will become available (this time for both memory and CPU). The idea is to: - enable the Get Results based on actual hitting of root methods - perhaps even more to have a "timeline" showing the application execution, with certain important points on it - and results becoming available would be one of them The idea of polling would certainly work, but perhaps it may be better to just create an event in the wireprotocol through which the server would notify the client that it is starting to collect results? (this assumes the server/agent knows)
Not really a new feature, so can be done as a part of stabilization work.
Done in M7 The Take Snapshot action is now enabled/disabled based on results availability, and the results window will never be displayed with the "No results available yet" message.
Verification of old issues.
Closing old issues.