Xcode 11 debugger is extremely slow - A known problem?

后端 未结 8 1019
小鲜肉
小鲜肉 2020-12-07 13:16

Since I updated to the latest Xcode version 11.0 (11A420a) the debugging is extremely slow and cumbersome.

EDIT: After updating to 11.1 GM (11A1027

8条回答
  •  無奈伤痛
    2020-12-07 13:27

    I've been dealing with this forever and finally figured it out. It was these lines in my ~/.lldbinit file:

    break set -F '-[UIView layoutIfNeeded]' -c '!(BOOL)[NSThread isMainThread]' -L objc
    break set -F '-[UIView(AdditionalLayoutSupport) updateConstraintsIfNeeded]' -c '!(BOOL)[NSThread isMainThread]' -L objc
    

    I commented those lines out and now it's almost as fast as without the debugger!

提交回复
热议问题