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 - Create watch for an expanded node in the variables view
Summary: Create watch for an expanded node in the variables view
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 21:57 UTC by _ sandipchitale
Modified: 2007-12-14 21:57 UTC (History)
1 user (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 _ 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.