错误EXC_BREAKPOINT(代码= EXC_I386)

时间:2015-02-10 03:43:12

标签: xcode swift segue uistoryboardsegue

我遇到了运行时错误:

Thread 1:EXC_BREAKPOINT(code=EXC_I1386_BPT,subcode=0x0).

Debugger shows: 0 swift_dynamiCastClassUnconditional

我的代码在这里崩溃..

override func prepareForSegue ( segue: UIStoryboardSegue, sender: AnyObject!) {
    if (segue.identifier == "solveBar") {
        var svcBar = segue.destinationViewController as BarTableViewController2

我可以提供一些建议吗?

1 个答案:

答案 0 :(得分:0)

尝试按cmnd + 7并删除所有断点