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.
In order to be able to modify a watch expression in-place, or add a new watch expression into the empty slot, it's necessary to click into the expression table cell several times. The cell should go into the editing mode as soon as a letter is written, or at least after a single click, like cells in the explorer.
This feature is likely to be dropped from NB 6 and planned for the next release.
Due to the bugs associated with this implementation, we're going to remove the last empty line and the possibility to in-place edit watches expressions. :-( The in-place editing bug is a bug of Tree Table View, thus I'm moving this there. I'll return the in-place editing functionality into debugger after it's fixed in TTV. Moving to openide/tree table view.
and how can i reproduce this bug?
You can activate in-place editing of watches in debugger by applying this simple patch: Then start debugger, add something into Watches window and try to edit in-place the watch expression. Index: debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java =================================================================== RCS file: /shared/data/ccvs/repository/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java,v retrieving revision 1.19 retrieving revision 1.18 diff -u -r1.19 -r1.18 --- debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java 20 Sep 2007 16:51:14 -0000 1.19 +++ debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java 18 Jun 2007 07:51:23 -0000 1.18 @@ -100,7 +100,7 @@ } public boolean canRename(Object node) throws UnknownTypeException { - return false;//(node instanceof JPDAWatch); + return (node instanceof JPDAWatch); } public boolean canCopy(Object node) throws UnknownTypeException {
unfortunatelly, this is not a simple fix. it'll have to wait for treetable rewrite
new treetableview is now available and it does support in-place editing of cells in tree column, see #33281 please switch to OutlineView in debugger views to fix this issue