XCode 13.3 stuck when input Chinese in lldb console

XCode 13.3 stuck when input Chinese in lldb console

The screen capture is absolutely unreadable.

it's same here:(

M1MBP,me too

me too, when I input "po" , Xcode 13.3 stuck

if an Apple FTE see this, I already had a radar:FB9958917, but after 2 weeks, no response at all

I already had a radar: FB9958917

Thanks for filing that. Some notes:

  • We can definitely reproduce it in-house.

  • It seems to be related to Xcode’s console pane, not LLDB itself.

  • If running lldb from the command-line is an option for you, that’s a simple workaround.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@unixzii found that the bug is because when inputing Chinese, SourceEditorContentView are triggering setNeedsLayout during its view layout life cycle. And he came up with a patch for it.

Hook the layoutSublayers implementation and add a timer to it. If it was called more than 100 times in 0.1 second, ignore the rest of call temporary.

See patch and workaround here. https://github.com/unixzii/XcodePatch

f**k xcode, such shit IDE

xcode release 13.3.1, but not fix this at all.

still wait for good news.

xcode release 13.3.1, macOS 12.3.1, same issue, wait for good news...

xcode 13.4 rc1 now release, anyone had try? does it come with good news?

13.4

xcode 13.4 is work well with ime!

xcode 13.4 is work well with ime!

Cool. That matches our expectations.

Thanks to everyone who filed a bug about this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

xcode 13.4 have already solve this problem

XCode 13.3 stuck when input Chinese in lldb console
 
 
Q