Mi aplicación se bloquea con el siguiente mensaje de error:¿Cómo rastrear la línea que está causando un error de tiempo de ejecución?
'NSInvalidArgumentException', razón: '- [__ NSCFDictionary setObject: forKey:]: intento de insertar un valor nulo (clave: 0)'
y estoy tratando de encontrar dónde está ocurriendo esto en mi código. He configurado NSZombiesEnabled en las variables de entorno, sin embargo, es bastante difícil determinar la ubicación. ¿Alguna idea sobre cómo depurar?
he escrito en BT y esto es lo que veo:
frame #0: 0x30d1832c libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x3597d20e libsystem_c.dylib`pthread_kill + 54
frame #2: 0x3597629e libsystem_c.dylib`abort + 94
frame #3: 0x35055f6a libc++abi.dylib`abort_message + 46
frame #4: 0x3505334c libc++abi.dylib`_ZL17default_terminatev + 24
frame #5: 0x36c38356 libobjc.A.dylib`_objc_terminate + 146
frame #6: 0x350533c4 libc++abi.dylib`_ZL19safe_handler_callerPFvvE + 76
frame #7: 0x35053450 libc++abi.dylib`std::terminate() + 20
frame #8: 0x35054824 libc++abi.dylib`__cxa_rethrow + 88
frame #9: 0x36c382a8 libobjc.A.dylib`objc_exception_rethrow + 12
frame #10: 0x3428d50c CoreFoundation`CFRunLoopRunSpecific + 404
frame #11: 0x3428d36c CoreFoundation`CFRunLoopRunInMode + 104
frame #12: 0x3826f438 GraphicsServices`GSEventRunModal + 136
frame #13: 0x36d27cd4 UIKit`UIApplicationMain + 1080
frame #14: 0x00051cdc AppName`main + 80 at main.m:16
Hola, obtengo la excepción en main. ¿Hay alguna manera de llevarlo a donde sucedió? – Dejell