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 16169

Summary: Fixed watches defined by special format of the expression.
Product: debugger Reporter: Marian Petras <mpetras>
Component: CodeAssignee: issues@debugger <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Marian Petras 2001-10-03 13:24:05 UTC
Imagine you have a watch named 'e' whose value is an object of type
PropertyChangeEvent at a moment. The PropertyChangeEvent has a field named
'newValue' of type Object. At the moment, value of the field 'newValue' is an
object of type Point:

e.newValue = <some Point>

Furthermore, you want to permanently watch value of field 'x' of this Point.
Currently it is possible to create a "fixed watch" from 'e.newValue', expand the
node that represent this "fixed watch" and watch value of its field 'x'.

Enhancement: Allow to declare a "partially fixed watch" by entering a special
expression as the value of property 'Name of variable' of a watch, e.g. by
entering expression

    #(e.newValue).x
you would watch a (non-fixed) value of field 'x' of a fixed instance (referred
to by the current value of 'e.newValue').
Comment 1 Jan Chalupa 2001-11-27 12:09:46 UTC
Target milestone -> 3.3.1.
Comment 2 Marek Grummich 2002-07-22 09:14:44 UTC
Target milestone was changed from '3.4' to TBD.
Comment 3 Marek Grummich 2002-07-22 09:18:26 UTC
Target milestone was changed from '3.4' to TBD.