xCode 极端长列表的异常和无法调试视图



问题:这是一个已知的错误吗?? 任何工作都可能?

(编辑:xcode 是 9.3,但自从迁移到 xcode 9 以来,我得到了这种行为(

我在 xCode 9 上遇到了严重的问题,并使用调试 consol 尝试找到错误的视图。

回到 xcode 8 中,我没有问题使用调试 consol 为视图着色并查看它在哪里。自 xcode 9 以来,我很难使用调试 consol 完成任何事情。

这是我使用"调试视图层次结构"按钮得到的

objc[13465]: EXCEPTIONS: throwing 0x6000003222e0 (object 0x6000012464e0, a NSException)
objc[13465]: EXCEPTIONS: searching through frame [ip=0x10b86b2f8 sp=0x7ffeeb5d0420] for exception 0x6000003222c0
objc[13465]: EXCEPTIONS: searching through frame [ip=0x12615fd7b sp=0x7ffeeb5d05d0] for exception 0x6000003222c0
objc[13465]: EXCEPTIONS: catch(NSException)
objc[13465]: EXCEPTIONS: unwinding through frame [ip=0x10b86b2f8 sp=0x7ffeeb5d0420] for exception 0x6000003222c0
..... 100's of more line of this ......
objc[13465]: EXCEPTIONS: throwing 0x60800013d680 (object 0x608000e4fea0, a NSException)
objc[13465]: EXCEPTIONS: searching through frame [ip=0x108998e6b sp=0x7ffeeb5cffe0] for exception 0x60800013d660
objc[13465]: EXCEPTIONS: searching through frame [ip=0x12615fd7b sp=0x7ffeeb5d05d0] for exception 0x60800013d660
objc[13465]: EXCEPTIONS: catch(NSException)
objc[13465]: EXCEPTIONS: unwinding through frame [ip=0x108998e6b sp=0x7ffeeb5cffe0] for exception 0x60800013d660
objc[13465]: EXCEPTIONS: unwinding through frame [ip=0x12615fd7b sp=0x7ffeeb5d05d0] for exception 0x60800013d660
objc[13465]: EXCEPTIONS: handling exception 0x60800013d660 at 0x1261603b2
objc[13465]: EXCEPTIONS: finishing handler
objc[13465]: EXCEPTIONS: releasing completed exception 0x60800013d680 (object 0x608000e4fea0, a NSException)
(lldb) expr -l Swift -- import UIKit
(lldb) expr -l Swift -- unsafeBitCast(0x7fd67ad94640, to: UIImageView.self).image = nil
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x7fd67ad94640).
The process has been returned to the state before expression evaluation.

可以看出,当我尝试访问任何内容时,我只是得到这个"错误:执行中断,原因:EXC_BAD_ACCESS">

我唯一能做到这一点的时候是重新启动系统。 然后任何后续运行我都遇到了这个问题。 这是非常令人沮丧的。

尝试重新安装 Xcode 或将其更新到最新版本 9.3。

最新更新