gpt4 book ai didi

objective-c - 理解 Objective-C 的 throw 调用栈

转载 作者:行者123 更新时间:2023-12-03 08:24:15 25 4
gpt4 key购买 nike

一个用户刚刚向我提交了一个错误报告,说我的应用程序崩溃了。用户还附加了一个 throw 调用堆栈。

似乎导致问题的部分是:

       3   My App                0x000000010d005483 My App + 17539

有没有办法翻译那个地址和/或 + 17539到我的代码中的行号?

请记住,我无法在我的机器上重现该错误,因此我不能仅在 Debug模式下构建它。

最佳答案

看看这个Tech note来自苹果。

... This trace is similar to what you would see when stopping execution in the debugger, except that you are not given the method or function names, known as symbols. Instead, you have hexadecimal addresses and executable code - your application or system frameworks - to which they refer. You need to map these addresses to symbols. Unlike crash logs from Mac OS X, iPhone OS logs do not contain symbol information when they're written out. You have to symbolicate iPhone OS logs before you can analyze them.

关于objective-c - 理解 Objective-C 的 throw 调用栈,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8797619/

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