gpt4 book ai didi

ios - iOS异常代码列表

转载 作者:可可西里 更新时间:2023-11-01 06:10:54 26 4
gpt4 key购买 nike

我正在尝试调试我的应用在 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 异常代码。谁知道我在哪里可以获得更完整的列表?

最佳答案

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

关于ios - iOS异常代码列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13980231/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com