• 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
LLDB: Printing Unicode in the Console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LLDB: Printing Unicode in the Console


  • Subject: LLDB: Printing Unicode in the Console
  • From: Andreas Grosam <email@hidden>
  • Date: Tue, 13 Mar 2012 11:06:21 +0100

Is it somehow possible to format and print a byte array or a pointer to bytes (say NSData, or a pointer to void) whose content is an Unicode sequence to the Debugger console?

It seems, we can't print anything other than a char* as a zero terminated C-string, and NSString variables formatted as a human readable string.

I would like to able to print any byte sequences interpreted as the specified Unicode encoding scheme (UTF-8, UTF-16LE, UTF-16BE, etc.) with an optional length attribute for the number of bytes consumed from the input, or optionally terminated by Unicode NULL.

Other encodings would be nice, too. Is it possible to extend LLDB in any fashion?

Andreas
 _______________________________________________
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: LLDB: Printing Unicode in the Console
      • From: Rick Mann <email@hidden>
  • Prev by Date: TextEdit behavior when last document closed in Lion
  • Next by Date: Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
  • Previous by thread: Re: TextEdit behavior when last document closed in Lion
  • Next by thread: Re: LLDB: Printing Unicode in the Console
  • Index(es):
    • Date
    • Thread