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 22170 - Request for "Quick Watch"
Summary: Request for "Quick Watch"
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-07 20:37 UTC by eadams
Modified: 2015-02-17 22:55 UTC (History)
2 users (show)

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 eadams 2002-04-07 20:37:42 UTC
A quick watch facility would be nice.   Quick watch would
take the selection and immediately add it to the watch
window.

Almost everytime I use Add Watch I have selected a variable
and want to watch just it.  I have to go through the little
dialog and click OK.  Its a nuisance for something I do about
95% of the time.
Comment 1 Jan Jancura 2002-04-08 17:33:52 UTC
We already have somethink like quick watch. Just select some variable
or expression in editor, put mouse cursor on selected text and wait a
second. Tooltip with value will occure. 

But if you can only jump over Add Breakpoint dialog we can suppress it
if user selects some expression in editor before.
I would like to see opinion of our UI team first...
Comment 2 David-john Burrowes 2002-04-15 22:13:21 UTC
i've been thinking about this.  It does seem a little unnecessary to show the watch dialog when something is selected in 
the editor.
On the other hand, there is the "tool tip" watch style that Jan mentioned, and dismissing the watch dialog takes only a 
press of the enter key.  The conern I've come to have is that ifthe user wants to add some watch without by typing a 
value into the watch dialog, but happens to have other stuff in the editor, it will be a nuisance to have to deselect 
whatever is selected so that the watch dialog behaves "correctly".

Perhaps the "watch" action on the toolbar should change to bypass the dialog.  This would provide a streamlined way to 
add a watch.
Comment 3 eadams 2002-04-16 12:52:12 UTC
Hmm, I thought I updated this isssue, but apparently not.

The tooltip evaluation is very useful but serves a different
purpose.  It is good for a "one shot" evaluation.  In my
scenario I want to add something to the watch window for all
the reasons that the watch window exists.

The request is for a more efficient way to add things to the
watch window.

What I'm suggesting is that an additional action be created 
that does the Quick Add.  The current action that involves the
dialog still needs to exist. 

David John has suggested that the current Add Watch be on the
menu and that the quicker one be on the toolbar.  Interesting
suggestion.
Comment 4 Marek Grummich 2002-07-22 08:58:47 UTC
Target milestone was changed from '3.4' to TBD.
Comment 5 Marek Grummich 2002-07-22 09:01:40 UTC
Target milestone was changed from '3.4' to TBD.