第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

Xcode5 如何調(diào)試 快速定位出錯(cuò)行

Xcode5 如何調(diào)試 快速定位出錯(cuò)行

、、、objectivec2014-07-2118:02:38.259Sections[2962:70b]***Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'mustpassaclassofkindUITableViewCell'***Firstthrowcallstack:(0CoreFoundation0x017375e4exceptionPreprocess+1801libobjc.A.dylib0x014ba8b6objc_exception_throw+442CoreFoundation0x017373bb+[NSExceptionraise:format:]+1393UIKit0x00314e08-[UITableViewregisterClass:forCellReuseIdentifier:]+2474Sections0x000030eb-[BIDViewControllersearchDisplayController:didLoadSearchResultsTableView:]+1715UIKit0x005cc0b4-[UISearchDisplayControllersearchResultsTableView]+4466UIKit0x005cd5f4-[UISearchDisplayController_containerView]+10317UIKit0x005c7563-[UISearchDisplayControllersetActive:animated:]+94628UIKit0x005cad4f-[UISearchDisplayControllersearchBarTextDidBeginEditing:]+2989UIKit0x004f52c9-[UISearchBar(UISearchBarStatic)_searchFieldBeginEditing]+11310libobjc.A.dylib0x014cc81f-[NSObjectperformSelector:withObject:]+7011UIKit0x0022ec8c-[UIApplicationsendAction:to:from:forEvent:]+10812UIKit0x0022ec18-[UIApplicationsendAction:toTarget:fromSender:forEvent:]+6113UIKit0x003266d9-[UIControlsendAction:to:forEvent:]+6614UIKit0x00326a9c-[UIControl_sendActionsForEvents:withEvent:]+57715UIKit0x0091254e-[UITextFieldwillAttachFieldEditor:]+68516UIKit0x0032c4d5-[UIFieldEditorbecomeFieldEditorForView:]+92717UIKit0x00909643-[UITextField_becomeFirstResponder]+16018UIKit0x004f841a-[UISearchBarTextField_becomeFirstResponder]+9819UIKit0x00386585-[UIResponderbecomeFirstResponder]+40020UIKit0x00289d0b-[UIView(Hierarchy)becomeFirstResponder]+11421UIKit0x009090e3-[UITextFieldbecomeFirstResponder]+5122UIKit0x005ae651-[UITextInteractionAssistant(UITextInteractionAssistant_Internal)setFirstResponderIfNecessary]+13523UIKit0x005b0ba2-[UITextInteractionAssistant(UITextInteractionAssistant_Internal)oneFingerTap:]+264024UIKit0x005a4f8c_UIGestureRecognizerSendActions+23025UIKit0x005a3c00-[UIGestureRecognizer_updateGestureWithEvent:buttonEvent:]+38326UIKit0x005a566d-[UIGestureRecognizer_delayedUpdateGesture]+6027UIKit0x005a8bcd___UIGestureRecognizerUpdate_block_invoke+5728UIKit0x005a8b4e_UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks+31729UIKit0x0059f248_UIGestureRecognizerUpdate+19930UIKit0x0026bd4a-[UIWindow_sendGesturesForEvent:]+129131UIKit0x0026cc6a-[UIWindowsendEvent:]+103032UIKit0x00240a36-[UIApplicationsendEvent:]+24233UIKit0x0022ad9f_UIApplicationHandleEventQueue+1142134CoreFoundation0x016c08af__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION+1535CoreFoundation0x016c023b__CFRunLoopDoSources0+23536CoreFoundation0x016dd30e__CFRunLoopRun+91037CoreFoundation0x016dcb33CFRunLoopRunSpecific+46738CoreFoundation0x016dc94bCFRunLoopRunInMode+12339GraphicsServices0x036d89d7GSEventRunModal+19240GraphicsServices0x036d87feGSEventRun+10441UIKit0x0022d94bUIApplicationMain+122542Sections0x0000399dmain+14143libdyld.dylib0x01d75701start+144???0x000000010x0+1)libc++abi.dylib:terminatingwithuncaughtexceptionoftypeNSException(lldb)、、、如上所示,錯(cuò)誤提示,使用的是XCODE5無法根據(jù)錯(cuò)誤提示找到出錯(cuò)行,網(wǎng)上有的方法試過不可以。希望知道的同學(xué)告知下。謝謝!
查看完整描述

2 回答

?
阿晨1998

TA貢獻(xiàn)2037條經(jīng)驗(yàn) 獲得超6個(gè)贊

在Xcode的BreakpointNavigator里面添加一個(gè)異常斷點(diǎn)(AddExceptionBreakpoint),然后將斷點(diǎn)條件設(shè)置成Exception:Object-C,這樣就能在異常拋出之前斷下來,你就可以查看當(dāng)時(shí)的調(diào)用棧。
注意最好在快要執(zhí)行到出問題代碼的時(shí)候才打開這個(gè)斷點(diǎn),否則會(huì)不斷被各種異常干擾。
                            
查看完整回答
反對 回復(fù) 2019-04-13
  • 2 回答
  • 0 關(guān)注
  • 283 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)