Open xiaobailong24 opened 1 month ago
This is interesting. Was this happening before you updated to xcode-kotlin 2.0.0? It seems like it chooses an array handler instead of a string one.
Could you share the code/structure of the result and cause classes? I'll try to reproduce it based on that.
@TadeasKriz Thanks for your reply.
Was this happening before you updated to xcode-kotlin 2.0.0?
Yes.
I tried to provide a minimal demo to reproduce this problem, but failed. Currently only our production project can reproduce it, but I'm sorry I can't provide it. I will try to provide a minimal demo later.
Summary
xcode-kotlin info
There is a variable
errorMsg
of typekotlin.String
inKmpApiException
class. When debugging breakpoints, the correct value "系统异常" can be seen in theKmpApiException
summaries, but theerrorMsg
detailed information cannot be displayed normally (instead of displaying "4 values"), and the same problem using lldbpo
Expected result
po
can print the correct value forkotlin.String
Screenshots
Issue Labels