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.
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.
Created attachment 16173 [details] The test project.
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
Seems OK in 200407111800.