xCode EXC_Arithmetic(代码= EXC_1386_DIV,子代码= 0x0)调试

时间:2015-03-20 16:11:54

标签: xcode debugging

我的行动开始时,我发现这个调试“错误”:

EXC_Arithmetic(code=EXC_1386_DIV,subcode=0x0)

我的代码如下:

 // checking if an ad may be shown due to ads frequency for this ad network and this location
            if (placementCountChartboostGameOver % ADS_FREQUENCY_CHARTBOOST_GAME_OVER == 0) {
                mayShowChartboostAdAtLocation = YES;

                if (cKLogEnabled) {
                    CKLog(@"App may show Chartboost Ad at Game Over because placement count is %li and ads frequency at this location is %li.", (long)placementCountChartboostGameOver, (long)ADS_FREQUENCY_CHARTBOOST_GAME_OVER);
                }

            }

我的调试“错误”从:placementCountChartboostGameOver % ADS_FREQUENCY_CHARTBOOST_GAME_OVER == 0

开始

0 个答案:

没有答案