• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: Debugger Variable window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Debugger Variable window


  • Subject: Fwd: Debugger Variable window
  • From: Tony Romano <email@hidden>
  • Date: Fri, 16 Apr 2010 18:06:58 -0700

Adding to Coco devs as well.

Begin forwarded message:

> From: Tony Romano <email@hidden>
> Date: April 16, 2010 4:50:10 PM PDT
> To: Xcode Users <email@hidden>
> 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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Debugger Variable window
      • From: Rob Ross <email@hidden>
  • Prev by Date: Re: Zeroing out instance variables
  • Next by Date: Re: How to empty the Trash programmatically?
  • Previous by thread: Re: Zeroing out instance variables
  • Next by thread: Re: Debugger Variable window
  • Index(es):
    • Date
    • Thread