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 48571 - Indicate results availability to the user
Summary: Indicate results availability to the user
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: mishadmitriev
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2004-09-07 11:15 UTC by iformanek
Modified: 2007-02-12 21:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2004-09-07 11:15:05 UTC
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.
Comment 1 iformanek 2005-02-14 12:55:51 UTC
Misha, is this possible with the current engine functionality to 
detect the moment when results become available?
Comment 2 mishadmitriev 2005-02-15 02:20:46 UTC
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.
Comment 3 iformanek 2005-02-15 09:35:43 UTC
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)
Comment 4 mishadmitriev 2005-02-16 00:55:07 UTC
Not really a new feature, so can be done as a part of stabilization 
work.
Comment 5 iformanek 2005-04-20 13:20:57 UTC
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.
Comment 6 ehucka 2006-10-09 12:09:54 UTC
Verification of old issues.
Comment 7 Alexander Kouznetsov 2007-02-12 21:59:11 UTC
Closing old issues.