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 59945 - Unreliable variable filtering in views
Summary: Unreliable variable filtering in views
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 59541 60022
  Show dependency tree
 
Reported: 2005-06-14 17:11 UTC by Martin Entlicher
Modified: 2010-04-29 09:23 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 Martin Entlicher 2005-06-14 17:11:25 UTC
After the lazy views were introduced, we changed the VariablesTreeModelFilter to
remember which variables were already evaluated and which were not yet, so that
it knows whether it can find the variable type without blocking.

But there is a problem, that when the variable is later loaded, it's children,
display name and other properties are not refreshed with the value obtained from
the correct filter (according to the variable type).

This is visible e.g. during reproduction of issue #59541. The children of a hash
map are sometimes presented as numbered elements and sometimes the raw structure
of the hash map is shown. It depends on whether the variable type is available
at the given time or not.
Comment 1 Martin Entlicher 2005-06-22 14:33:18 UTC
Fixed in trunk:

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v
 <--  JPDADebuggerImpl.java
new revision: 1.76; previous revision: 1.75

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Evaluator.java,v 
<--  Evaluator.java
new revision: 1.16; previous revision: 1.15

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/JavaVariablesFilter.java,v
 <--  JavaVariablesFilter.java
new revision: 1.9; previous revision: 1.8

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTreeModelFilter.java,v
 <--  VariablesTreeModelFilter.java
new revision: 1.9; previous revision: 1.8

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/NumericDisplayFilter.java,v
 <--  NumericDisplayFilter.java
new revision: 1.9; previous revision: 1.8

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java,v
 <--  WatchesNodeModel.java
new revision: 1.12; previous revision: 1.11

/cvs/debuggercore/viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java,v
 <--  TreeModelNode.java
new revision: 1.35; previous revision: 1.34

/cvs/debuggercore/viewmodel/src/org/netbeans/modules/viewmodel/TreeModelRoot.java,v
 <--  TreeModelRoot.java
new revision: 1.11; previous revision: 1.10

/cvs/debuggercore/viewmodel/src/org/netbeans/spi/viewmodel/Models.java,v  <-- 
Models.java
new revision: 1.20; previous revision: 1.19
Comment 2 Quality Engineering 2010-04-29 09:23:18 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.