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 45973 - The "Static" and "Inherited" nodes not shown in the Watches view
Summary: The "Static" and "Inherited" nodes not shown in the Watches view
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 09:11 UTC by Jan Lahoda
Modified: 2006-03-24 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The test project. (8.17 KB, application/octet-stream)
2004-07-09 09:11 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-07-09 09:11:24 UTC
NB trunk continuous build 20040709-0521, JDK1.4.2_04.

1. Download the attached test project.
2. Open class javaapplication1.Main.
3. Set the breakpoint at line 26.
4. Start the debugger on this class.
5. Do "Step Over" until you get to line 30.
6. Look into the "Local variables" view - expand
the "t" variable: it has the "Static" and
"Inherited" nodes.
7. Go into the "Watches" view and create two
watches: "t" and "global".
8. Expand these watches: they do not have the
"Static" and "Inherited" sub-nodes.

For local variables the workaround is to look into
the Local Variables view, but for non-local
variables (fields, entries in a Collection, etc.),
I do not know any workaround.
Comment 1 Jan Lahoda 2004-07-09 09:11:57 UTC
Created attachment 16173 [details]
The test project.
Comment 2 Jan Jancura 2004-07-09 13:12:26 UTC
fixed in the main trunk.

I forget to register
org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI
(serveice adding the inherted and static subnodes) to Watches View.

What to test:
Watches View.



Checking in
ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.NodeActionsProvider;
/cvs/debuggerjpda/ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.NodeActionsProvider,v
 <--  org.netbeans.spi.viewmodel.NodeActionsProvider
new revision: 1.7; previous revision: 1.6
done
Checking in
ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.NodeModel;
/cvs/debuggerjpda/ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.NodeModel,v
 <--  org.netbeans.spi.viewmodel.NodeModel
new revision: 1.4; previous revision: 1.3
done
Checking in
ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.TableModel;
/cvs/debuggerjpda/ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.TableModel,v
 <--  org.netbeans.spi.viewmodel.TableModel
new revision: 1.4; previous revision: 1.3
done
Checking in
ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.TreeModelFilter;
/cvs/debuggerjpda/ui/src/META-INF/debugger/netbeans-JPDASession/WatchesView/org.netbeans.spi.viewmodel.TreeModelFilter,v
 <--  org.netbeans.spi.viewmodel.TreeModelFilter
new revision: 1.7; previous revision: 1.6
done
Comment 3 Jan Lahoda 2004-07-12 13:38:14 UTC
Seems OK in 200407111800.