4

我正在尝试调试我的应用程序在 SBJson 中看到的崩溃(非常罕见),但我不知道如何破译异常代码:

Date/Time:       2012-12-16 12:21:31.311 -0500
OS Version:      iOS 6.0.1 (10A523)
Report Version:  104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000000000defe
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   CoreFoundation                  0x3a0a92be CFRelease + 18
1   libcache.dylib                  0x369217d2 _entry_remove + 154
2   libcache.dylib                  0x369221d8 _cache_enforce_limits + 168
3   libcache.dylib                  0x3692115e _cache_update_limits + 170
4   libcache.dylib                  0x3692156c cache_set_and_retain + 1028
5   CoreFoundation                  0x3a0fc480 -[NSCache setObject:forKey:cost:] + 52
6   CoreFoundation                  0x3a0fc442 -[NSCache setObject:forKey:] + 38
7   MyApp                       0x000c4226 -[SBJsonStreamWriter writeString:]     (SBJsonStreamWriter.m:315)
8   MyApp                       0x000c3460 -[SBJsonStreamWriter writeObject:] (SBJsonStreamWriter.m:104)
9   MyApp                       0x000c613c -[SBJsonWriter dataWithObject:] (SBJsonWriter.m:93)
10  MyApp                       0x000c5efc -[SBJsonWriter stringWithObject:] (SBJsonWriter.m:61)
11  MyApp                       0x000c14d0 -[NSObject(NSObject_SBJsonWriting) JSONRepresentation] (NSObject+SBJson.m:38)

Apple 在这里提供了一些文档:

http://developer.apple.com/library/ios/#technotes/tn2151/_index.html

但未列出 0x0000000000000001, 0x000000000000defe 异常代码。有人知道我在哪里可以获得更完整的清单吗?

4

1 回答 1

1

你确定你传递的json是正确的吗?尝试在某个第三方验证它。我用这个: http: //paulisageek.com/json_validator/

于 2012-12-21T06:44:46.523 回答