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 - Nodes in Local Variables component should remain open
Summary: Nodes in Local Variables component should remain open
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: USABILITY
: 61051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-24 11:58 UTC by _ hair
Modified: 2006-07-05 18:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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