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 93158

Summary: Organization/adding of watches and watch window
Product: debugger Reporter: belur_1d <belur_1d>
Component: CodeAssignee: issues@debugger <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description belur_1d 2007-01-25 03:52:28 UTC
Hi

right now if i have to many watches , it becomes difficult to search for one
a watch i am interested in and seeing its value.

I was wondering whether nb can add this...

1> Organize the watches accd to the java files they were added for.
i.e i add 5 watches in class A and i add 5 watches in class B. nb can show
the watches under respective classes. I feel it will be more easier to track.

2> The above approach if implemented will still NOT fully solve the main issue
of finding one. Right now nb has a very nice way of searching for method
in navigation window. Can this feature be extended to watch window also.
i.e if i have 5 watches names obj in 5 classes, then once i start typeing
ob (say for example) then nb shows me all the possible watches added...
i.e here 5 watches minimum. Then if nb can allow the user to see the
watch when user clicks on that from search list.

3> Third , it would be wonderful if nb can automcatically expand that watch
which the user has chosen.(only first level is sufficient if it is deeply nested)

4> This is w.r.t adding watches. Many times by mistake i have added same watch.
Can nb check whether the watch var is already present. If present, nb should 
automatically bring focus on that watch. ALSO , nb should automatically
expand that watch(only first level is sufficient if it is deeply nested)
I feel this is very nice feature to have.

5> Finally , if watch window does not have focus and user added a watch,nb does
not bring focus back to watch window.I am not sure abt how nb behaves if watch 
window is closed by user and adds a watch.


-swaroop belur