나는이 영역에 몇 번이나 들어갔다. 영역이 수행하려고 시도하는 것으로 인해 응용 프로그램이 충돌하지만 호출 스택이 전혀 도움이되지 않습니다. 그것은 가까이있어 (TouchesEnded
),하지만 나는 그것이 조금 더 정확해야한다고 생각합니다. 더 가까이 갈 수있는 방법이 있습니까? 과거에는 충돌 메시지가 꽤 분명했기 때문에 나는 그것을 알아낼 수 있었지만,이 메시지는 어디에서나 발생할 수 있습니다. 아이디어? 때문에, 이유 캐치되지 않는 예외 '잘못된 값'응용 프로그램 종료영역을 디버깅하고 호출 스택에 아무런 응용 프로그램 코드가 없습니다
: DrawingNode '유형 의 객체에'ID '속성에 대한 유형 문자열의 예상 객체' '하지만, 수신 : 1'
*** First throw call stack: ( 0 CoreFoundation 0x000000010713a1ab __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00000001067cff41 objc_exception_throw + 48 2 Realm 0x0000000105190d31 _ZL15RLMPreconditionbP8NSStringS0_z + 657 3 Realm 0x00000001052791b3 _ZN12_GLOBAL__N_123validate_property_valueERKNS_15ColumnReferenceEP11objc_objectP8NSStringP15RLMObjectSchemaS6_ + 1011 4 Realm 0x0000000105195ee7 _ZN12_GLOBAL__N_112QueryBuilder22apply_value_expressionEP15RLMObjectSchemaP8NSStringP11objc_objectP21NSComparisonPredicate + 631 5 Realm 0x00000001051928a3 _ZN12_GLOBAL__N_112QueryBuilder15apply_predicateEP11NSPredicateP15RLMObjectSchema + 5075 6 Realm 0x0000000105190eeb _Z19RLMPredicateToQueryP11NSPredicateP15RLMObjectSchemaP9RLMSchemaRN5realm5GroupE + 347 7 Realm 0x0000000105152164 -[RLMManagedArray objectsWithPredicate:] + 324 8 RealmSwift 0x0000000105c23d17 _T010RealmSwift4ListC6filterAA7ResultsCyxGSS_SayypGdtF + 231 9 DrawingApp 0x0000000103fdb59a _T010DrawingApp0A5SceneC12touchesEndedys3SetVySo7UITouchCG_So7UIEventCSg4withtF + 26586 10 DrawingApp 0x0000000103fdda88 _T010DrawingApp0A5SceneC12touchesEndedys3SetVySo7UITouchCG_So7UIEventCSg4withtFTo + 104 11 SpriteKit 0x000000010a2eabbe -[SKView touchesEnded:withEvent:] + 1083 12 UIKit 0x0000000107a7ebbb -[UIWindow _sendTouchesForEvent:] + 2807 13 UIKit 0x0000000107a802de -[UIWindow sendEvent:] + 4124 14 UIKit 0x0000000107a23e36 -[UIApplication sendEvent:] + 352 15 UIKit 0x0000000108366434 __dispatchPreprocessedEventFromEventQueue + 2809 16 UIKit 0x0000000108369089 __handleEventQueueInternal + 5957 17 CoreFoundation 0x00000001070dd231 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 18 CoreFoundation 0x000000010717ce41 __CFRunLoopDoSource0 + 81 19 CoreFoundation 0x00000001070c1b49 __CFRunLoopDoSources0 + 185 20 CoreFoundation 0x00000001070c112f __CFRunLoopRun + 1279 21 CoreFoundation 0x00000001070c09b9 CFRunLoopRunSpecific + 409 22 GraphicsServices 0x000000010f46a9c6 GSEventRunModal + 62 23 UIKit 0x0000000107a075e8 UIApplicationMain + 159 24 DrawingApp 0x0000000104071e17 main + 55 25 libdyld.dylib 0x000000010b0e4d81 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException
호출 스택에는 예외가 throw되는 영역으로 호출하는 것을 포함하여 앱의 여러 프레임 코드가 있습니다. – bdash