Copy link to clipboard
Copied
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'
}
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now