There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Feature request: Locals window should not indicate an expandable node when it has no children
When a node appears in the Locals (or Watch, etc.) window, it has a + sign unless it is one of several specific type such as
int, or it is indexable but has no items (such as an empty list or dict).
However, if the node has no displayable children, then clicking on the + sign makes the + sign go away, because the debugger script reports back an empty set of children.
What I would like to see is that when any object is reported back to VS as a node in one of these windows, the debugger script will determine if it is expandable using the same logic that will later be used to report on the expansion.
By "displayable," I am referring to the fact that certain children (like methods or with
something names) are deliberately filtered out of the children that are displayed.