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 51794

Summary: Nodes in Local Variables component should remain open
Product: debugger Reporter: _ hair <hair>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: blocker Keywords: USABILITY
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ hair 2004-11-24 11:58:59 UTC
Currently, each time you step, or between each
subsequent breakpoint stop, all the nodes in the
Local Variables collapse.

This is frustrating, and ruins productivity,
exaggerated when the variable in interest is many
nodes deep.

I wouldn't have thought it be hard to remember if
a node was in open or closed stated, and to
restore it. If these nodes are constructed new
each time, then to keep some cache in the
TopComponent of what the previous view (the names,
or some universal identifier, of which nodes were
open) was.
Comment 1 Jan Jancura 2004-12-01 23:02:51 UTC
I can reproduce it.
Comment 2 Jan Jancura 2005-04-13 09:28:31 UTC
No chance to fix it in 4.1.
Comment 3 Martin Entlicher 2005-06-07 12:01:31 UTC
This works in Watches in dev builds. It should be possible to fix it for Local
Variables as well...
Comment 4 Martin Entlicher 2005-06-08 19:15:36 UTC
Fixed in trunk:

/cvs/debuggercore/viewmodel/src/org/netbeans/spi/viewmodel/Models.java,v  <-- 
Models.java
new revision: 1.18; previous revision: 1.17

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/AbstractVariable.java,v
 <--  AbstractVariable.java
new revision: 1.29; previous revision: 1.28

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/Local.java,v 
<--  Local.java
new revision: 1.5; previous revision: 1.4

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/LocalsTreeModel.java,v
 <--  LocalsTreeModel.java
new revision: 1.28; previous revision: 1.27

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/ObjectLocalVariable.java,v
 <--  ObjectLocalVariable.java
new revision: 1.5; previous revision: 1.4
Comment 5 Martin Entlicher 2005-07-16 23:05:10 UTC
*** Issue 61051 has been marked as a duplicate of this issue. ***
Comment 6 _ hair 2006-07-05 18:58:09 UTC
verified or just very old