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 124049

Summary: Create watch for an expanded node in the variables view
Product: debugger Reporter: _ sandipchitale <sandipchitale>
Component: JavaAssignee: issues@debugger <issues>
Status: NEW ---    
Severity: blocker CC: tpavek
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ sandipchitale 2007-12-14 21:57:56 UTC
Let us say I am seeing a tree like this in the local variables window:

[-] this
    :
    [-] field
        :
        [-] field's field
            :
            [-] field's field's field <-----selected row


Add ability to create a Watch point for the path:

this.field.field's field.field's field's field

This should work for static field case also when the context is a static method.

Of course the pseudo nodes like "Static" and "Inherited" etc should be filtered out :)

This is different that the Fixed watch feature which (as far as I understand) locks on a particular object. What I want
it just a shortcut to create a Watch for nested expression.

A wild idea is to create multiple watches like:

this.
this.field
this.field.field's field.
this.field.field's field.field's field's field

or even better may be show this list in a dialog with checkboxes with last one selected And with Select All, Deselect
All buttons also.