Project: aptanastudio
Issue APSTUD-7449: Pydev - Attributes in class that inherits from dict do not appear in variable view/debug/perspective
This example contains two class definitions for extending a python dictionary. One extends via inheritance. The other by composition; i.e. dictionary appears as an attribute. I expect instances of each to look nearly the same in the debug-variable view. The composition-style instance appears as I expect. With the inheritance-style implementation, I am unable to see the attribute fields representing my extensions to the built in dict. It does not appear to be a python problem since I am able to set, get and print the fields from within the code or at the console. Composition style works for now. Inheritance-style, is faster and leaner. Attached is a code snippet and screen-shot of what I see. Set the breakpoint where marked and you should see the problem as you expand the fields in the debugger/variable window cheers, -m
Story points: 1