Today is spring cleaning and I've ignored this problem for too long :-) I've searched many times and really have not found the answer. My project is using DWARF as it's debug format and I'm using 3.2.2(3.2.1 did the same thing).
This is my object structure
MyObjectA { NSURL url; }
MyObjectB : MyObjectA { ... }
For discussion variable instanceOfMyObjectB has been created. Looking at the Variable window, I see this:
instanceOfMyObjectB 0x.... MyObjectA {...} NSObject {...} url 0x... {(unichar *)Xcode_CFStringSummary((void *)[$VAR description], $ID)}:s
The URL is not printed out, just the format string(default one provided by XCode). If I go to the debugger console and do 'po instanceOfMyObjectB.url', OR po [instanceOfMyObjectB.url description] it prints out the URL correctly. In fact, all the members of MyObjectA only show their format string but all print out correctly in the debugger console.
Why does the variable window show the format string and not the URL?
Thanks! -Tony |