Swift: Breakpoint in CoreData library

前端 未结 8 1697
谎友^
谎友^ 2020-12-10 14:21

XCode 6 Beta 3 using Swift.

In my App I use CoreData. When I run my App in simulator, XCode pops up the debugger with a breakpoint set somewhere in the CoreData libr

8条回答
  •  情歌与酒
    2020-12-10 14:58

    Do you have an All Exception breakpoint set?

    enter image description here

    Contrary to Apple's best practices CoreData uses exceptions in the normal flow of control.

    If you add exception breakpoints you may break in CoreData. The solution is to remove or disable the exception breakpoint.

提交回复
热议问题