[self.window makeKeyAndVisible]的异常breakPoint

时间:2017-08-02 07:47:14

标签: ios xcode

如果我删除Exception BreakPoint,一切都会好的。但是当我将Exception breakPoint添加到debug时,出了点错误:

String sql = "select a, b, sum (c) csum from a group by a, b";
    NativeQuery<?> q = session.createNativeQuery (sql).addSynchronizedEntityClass( RankingModel.class );
    List<RankingModel> results = (List<RankingModel>)q.list ();

breakpoint like this  并且运行,项目总是在[self.window makeKeyAndVisible]中断,单击“继续程序执行”按钮一些,它可以运行

1 个答案:

答案 0 :(得分:5)

像这样编辑异常断点 -

enter image description here

选择目标C -

enter image description here

希望这有帮助!