Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I see PMString, WideString etc. values in the Xcode debugger?

Community Beginner ,
Mar 16, 2016 Mar 16, 2016

I want to see the value from a PMString.

Someone know how i can do that?

I try to see the value from a PMString

(PMString) sql = {

  UnicodeSavvyString = {

    fStorage = 0x00006080001b7e60

    fSmallStorage = {

      [0] = 0

      [1] = 12752

      [2] = 1

      [3] = 0

      [4] = 28208

      [5] = 24511

      [6] = 32767

      [7] = 0

      [8] = 26652

      [9] = 5

      [10] = 1

      [11] = 0

      [12] = 28224

      [13] = 24511

      [14] = 32767

      [15] = 0

    }

    fUTF16BufferLength = 93

    fNumChars = 93

  }

  fInvariant = {

    fNesting = 0

  }

  fEncoding = kEncodingKorean

  fShouldTranslate = 1

  fHasTranslated = 0

  fFormatNumber = '\x02'

}

TOPICS
SDK
481
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 29, 2016 Mar 29, 2016

I'm curious to know this as well. I tend to do most of my debugging on windows, but every so often when I need to debug a mac specific problem, it gets hard when I can't verify values.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 29, 2016 Mar 29, 2016
LATEST

You can investigate on how to write Data Formatter for the the version of Xcode that you are using, using Data Formatters you can give direction on how the value on custom types are shown on the debugger window.

Please refer the discussion in the following thread, it might give you a starting point to move ahead.

Re: PMString XCODE DEBUG - How i see the value in string?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines