Adding to Coco devs as well.

Begin forwarded message:

> From: Tony Romano <tony...@hotmail.com>
> Date: April 16, 2010 4:50:10 PM PDT
> To: Xcode Users <xcode-us...@lists.apple.com>
> Subject: Debugger Variable window
> 
> 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
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (xcode-us...@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/xcode-users/tonyrom%40hotmail.com
> 
> This email sent to tony...@hotmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to