Xcode 5에서 디버깅 할 때 호출 스택을 숨기고 오류 로그 만 표시하거나 수동으로 켜고 끄는 방법이 있습니까? 오류 로그는 다음과 같습니다 :xcode에서 "*** First throw call stack"을 숨기기 5
TestProject[31643:70b] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Could not find a navigation controller for segue 'SecondViewController'. Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
그러나 항상 호출 스택을 던집니다. 위의 로그를 보려면 위로 스크롤해야합니다. 제 맥북이 13inch 맥북이기 때문에 짜증이납니다. 아래의 호출 스택을 어떻게 숨길 수 있습니까?
*** First throw call stack:
(
0 CoreFoundation 0x0174f5e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x014be8b6 objc_exception_throw + 44
2 UIKit 0x00b95ca5 -[UIStoryboardPushSegue destinationContainmentContext] + 0
3 UIKit 0x00b8607e -[UIStoryboardSegueTemplate _perform:] + 174
4 UIKit 0x00767280 -[UIViewController performSegueWithIdentifier:sender:] + 72
5 UIKit 0x0e1b508c -[UIViewControllerAccessibility(SafeCategory) performSegueWithIdentifier:sender:] + 63
6 TestProject 0x00002bd9 -[ViewController imagePickerController:didFinishPickingMediaWithInfo:] + 345
7 UIKit 0x008c9e7e -[UIImagePickerController _imagePickerDidCompleteWithInfo:] + 506
8 PhotoLibrary 0x0ee7fe94 PLNotifyImagePickerOfImageAvailability + 106
9 PhotosUI 0x11015585 -[PUUIPhotosAlbumViewController handleNavigateToAsset:inContainer:] + 401
10 PhotosUI 0x10f987b4 -[PUPhotosGridViewController collectionView:shouldSelectItemAtIndexPath:] + 577
11 UIKit 0x00c61c0b -[UICollectionView _selectItemAtIndexPath:animated:scrollPosition:notifyDelegate:] + 173
12 UIKit 0x00c7a1f8 -[UICollectionView _userSelectItemAtIndexPath:] + 189
13 UIKit 0x00c7a3b5 -[UICollectionView touchesEnded:withEvent:] + 437
14 libobjc.A.dylib 0x014d0874 -[NSObject performSelector:withObject:withObject:] + 77
15 UIKit 0x007aa902 forwardTouchMethod + 271
16 UIKit 0x007aa972 -[UIResponder touchesEnded:withEvent:] + 30
17 libobjc.A.dylib 0x014d0874 -[NSObject performSelector:withObject:withObject:] + 77
18 UIKit 0x007aa902 forwardTouchMethod + 271
19 UIKit 0x007aa972 -[UIResponder touchesEnded:withEvent:] + 30
20 libobjc.A.dylib 0x014d0874 -[NSObject performSelector:withObject:withObject:] + 77
21 UIKit 0x007aa902 forwardTouchMethod + 271
22 UIKit 0x007aa972 -[UIResponder touchesEnded:withEvent:] + 30
23 UIKit 0x009c5c7f _UIGestureRecognizerUpdate + 7166
24 UIKit 0x0069019a -[UIWindow _sendGesturesForEvent:] + 1291
25 UIKit 0x006910ba -[UIWindow sendEvent:] + 1030
26 UIKit 0x00664e86 -[UIApplication sendEvent:] + 242
27 UIKit 0x0064f18f _UIApplicationHandleEventQueue + 11421
28 CoreFoundation 0x016d883f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
29 CoreFoundation 0x016d81cb __CFRunLoopDoSources0 + 235
30 CoreFoundation 0x016f529e __CFRunLoopRun + 910
31 CoreFoundation 0x016f4ac3 CFRunLoopRunSpecific + 467
32 CoreFoundation 0x016f48db CFRunLoopRunInMode + 123
33 GraphicsServices 0x034b29e2 GSEventRunModal + 192
34 GraphicsServices 0x034b2809 GSEventRun + 104
35 UIKit 0x00651d3b UIApplicationMain + 1225
36 TestProject 0x0000237d main + 141
37 libdyld.dylib 0x01d7970d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
고맙다. 많은 사람들이 Xcode의 이상 함으로 인해 호출 스택을 안정적으로 가져올 수 없습니다.그리고 당신이 그것을 필요로 할 때 (그것은 종종 있습니다), 당신은 정말로 그것을 필요로합니다. –
수동으로 켜고 끌 수 있다면 좋을 것 같습니다. @ HotLicks – johnMa