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.
I was getting strange Breakpoint node expansion behaviour and in order to explore decided to interpose a TreeExpansion ... well, it should be Filter because breakpoints are global but there seems to be no TreeExpansionFilter. Is this by design? It seems that because the original request for this came for locals and watches (which for the native debugger were separate from the master set meintained by debuggercore) that need for a Filter to match the Model was overlooked?
Well, I have no idea why there is not one. I guess it was not needed. It's true that all the models have appropriate filters, so this one can be added. But do you have some use-case for it? Is it necessary for some debugger implementation? I have no problems with adding a TreeExpansionFilter, but it's strange to add something for which there is not any use.
Adding incomplete keyword - do you really need a TreeExpansionFilter for some real functionality?
Not at the moment. However, I've been concentrating on breakpoints. At some point we'll be concentrating on watches which are global and depend on expansion much more. Then this issue might or might not become actually relevent. Shall we leave it as is or close and maybe reopen it?
O.K. So closing as wontfix for now, please reopen when you'll have some use-case for this. Thanks.
Removing MARS keyword.
There was no use-case for this filter until now - in the new Debugging View.
Fixed as a part of API additions described in issue #136099. Interface org.netbeans.spi.viewmodel.TreeExpansionModelFilter was added with methods: boolean isExpanded (TreeExpansionModel original, Object node) throws UnknownTypeException; void nodeExpanded (Object node); void nodeCollapsed (Object node); void addModelListener (ModelListener l); void removeModelListener (ModelListener l);
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.