why don't inherited iVars / instance variables show in the debugger?

I have sub-classed NSError to CDError. NSError shows what amounts to a partial list of instance variables in the debugger (suffices) but what is difficult is that my subclass instance of CDError shows none of the instance variables of the subclass.


Something I am doing wrong? Do I have to define something special in CDError to get the debugger to show me all the instance variables available to it? Am I stuck creating custom expression like theError->_code in the debugger?


I started to put an instance variable in my subclass so I could set it to 'self' to see the values held in NSError. That is the "error" instance variable (nil) shown in "theError". Decided to post here before I went any farther so don't be side tracked by that iVar pls. I hate to think that every subclass I create I will be putting iVars in for each class below it to see the contents of the internals of the object without creating custom debugger expressions for each one...


<img src="https://www.evernote.com/l/ACBPTDBHM1tIUoVIKry9EmrAWgXaoqBHC4UB/image.png" alt="iVars_MIA" />