po error.
(lldb) po ds (3454,0xac3fda28) malloc: *** mmap(size=566284288) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug (3454,0xac3fda28) malloc: *** mmap(size=377524224) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug $14 = 0x17660280 [no Objective-C description available]
the ds should be a array with NSDictionary, and dictionary's value is multibyte string.
Thanks for feedback. But currently, I don't have good solution for this...
Can you disable it if it is a array?
No, it will then stop converting all of array string-values.
I recommend to comment-out [MultibyteDescription install] when you debug with LLDB.
The reason is that I use LLDB debugger?
I think so.
LLDB's print-object seems to convert multibyte-string successfully without using MultibyteDescription.
I don't think so. I still get not multibyte-string successfully. I use LLDB at long ago...
Demo app WITHOUT using MultibyteDescription:
(lldb) po arr
$1 = 0x0000000100114db0 <__NSArrayI 0x100114db0>(
あいうえお,
カキクケコ,
abcde,
<__NSArrayI 0x100114f90>(
らりるれろ,
らりるれろ
)
,
{
English = hello;
"\Ud55c\Uad6d\Uc5b4" = "\Uc548\Ub155\Ud558\Uc138\Uc694";
"\U4e2d\U6587" = "\U4f60\U597d";
"\U65e5\U672c\U8a9e" = "\U3053\U3093\U306b\U3061\U306f";
}
)
It seems multibyte string partially works in LLDB,
but this will surely interfere with MultibyteDescription.