问题:这是一个已知的错误吗?和任何可能的工作?
(编辑:xcode是9.3,但是自从转到xcode 9后我得到了这种行为)
我对xCode 9有严重问题,并使用调试控制台尝试查找错误视图。
回到xcode 8我没有问题使用调试控制器为视图着色并查看它的位置。 从xcode 9开始,我只是很难用调试控制器完成任何事情。
这是我使用" Debug视图层次结构"按钮
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"
我唯一能让它工作的是重新启动系统。然后任何后续的运行我遇到了这个问题。这非常令人沮丧。
答案 0 :(得分:0)
尝试重新安装Xcode或将其更新到最新版本9.3。