• 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
Re: Data formatter plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data formatter plugin


  • Subject: Re: Data formatter plugin
  • From: Steve Mills <email@hidden>
  • Date: Fri, 30 Nov 2007 14:42:18 -0600

On Nov 30, 2007, at 14:26:15, Chris Espinosa wrote:

Unfortunately the pipeline from gdb to Xcode is still 7-bit ASCII and it's not possible to display any other encoding in Xcode's debugger. All non-7-bit characters are rendered in octal by gdb.

Wow, 7-bit. How 1984. Hopefully it's scheduled for a swift kick into the present. Can't Xcode just ask for the pointer and then display it as Unicode on its own?


Your bug <rdar://problem/3539888> Data submenu needs C String, Pascal String, Unicode String has been addressed for the first two but is still pending for Unicode string values, with 9 related bugs.


Thanks for the Pascal and C viewers (even though Pascal strings are getting rarer by the minute). Hopefully 9 is the magic number that flags the bug as being really, really important. :) Opening the 2 triangles it takes to get to the string's data pointer, then choosing View as Memory isn't a big deal, except Xcode still has the long- standing bug where the Memory window pukes on some variables, empties the address field, and displays nothing. So I have to always take the long and tedious route to view Unicode in a string:

1) Open the 2 triangles.
2) Double-click the M_p value.
3) Copy the address of M_p.
4) Click outside the edit field or weird things will happen later on.
5) Right-click M_p and choose View as Memory.
6) Paste the address into the field which is now empty.
7) Tab and enter a size other than 16, since 16 bytes is rarely useful for showing the contents of a Unicode string.


That's a lot of steps, especially when a string changes and you have to do it all over again because its data pointer is now at a new address. It gets annoying REALLY fast.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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
  • Follow-Ups:
    • Re: Data formatter plugin
      • From: Chris Hanson <email@hidden>
References: 
 >Data formatter plugin (From: Steve Mills <email@hidden>)
 >Re: Data formatter plugin (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Linked frameworks
  • Next by Date: Leopard crash only if launched by XCode
  • Previous by thread: Re: Data formatter plugin
  • Next by thread: Re: Data formatter plugin
  • Index(es):
    • Date
    • Thread