Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios UITableView _endCellAnimationsWithContext:断言无原因失败_Ios_Iphone_Objective C_Uitableview - Fatal编程技术网

Ios UITableView _endCellAnimationsWithContext:断言无原因失败

Ios UITableView _endCellAnimationsWithContext:断言无原因失败,ios,iphone,objective-c,uitableview,Ios,Iphone,Objective C,Uitableview,我正在使用UITableView向用户显示一些设置。重新加载节或插入带有动画的某些行时,可能会在委托/数据源函数中出错,导致 在-[UITableView\u endCellAnimationsWithContext:,/SourceCache/UIKit/UIKit-3232.3/UITableView.m:1560中的断言失败 这已经发生在我身上很多次了,但通常它也会说明我做错了什么,比如: -[UITableView\u endCellAnimationsWithContext:]中的断言

我正在使用UITableView向用户显示一些设置。重新加载节或插入带有动画的某些行时,可能会在委托/数据源函数中出错,导致

在-[UITableView\u endCellAnimationsWithContext:,/SourceCache/UIKit/UIKit-3232.3/UITableView.m:1560中的断言失败

这已经发生在我身上很多次了,但通常它也会说明我做错了什么,比如:

-[UITableView\u endCellAnimationsWithContext:]中的断言失败, /SourceCache/UIKit/UIKit-2380.17/UITableView.m:1070

由于未捕获异常而终止应用程序 'NSInternalInconsistencyException',原因:'无效更新:无效 第0节中的行数

最近,原因不再显示在控制台中,只显示断言失败和SIGABRT行


这非常烦人,并且使调试非常耗时。有什么线索可以恢复此功能吗?

在发布问题并重新阅读后,我意识到我丢失的消息部分是未捕获异常的一部分

由于未捕获异常而终止应用程序,原因是:“无效更新:节0中的行数无效。”

然后我意识到我从一两个月起就开始使用PLCrashReporter向服务器报告未捕获的异常。禁用crashreporter恢复了控制台中消息的原因位


谢谢!省去了我很多麻烦。