LookinServer icon indicating copy to clipboard operation
LookinServer copied to clipboard

崩溃

Open Jinlongning opened this issue 5 years ago • 4 comments

企业微信截图_db3ccd94-b8b5-49ca-b8fe-4523e18a389e 企业微信截图_21f577d4-532d-468c-b088-d28cfb434a9d

Jinlongning avatar Jun 10 '20 06:06 Jinlongning

请问 Xcode 的控制台有没有打印出什么具体的 crash 信息呢?

------------------ 原始邮件 ------------------ 发件人: "Jinlongning"<[email protected]>; 发送时间: 2020年6月10日(星期三) 下午2:39 收件人: "QMUI/LookinServer"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [QMUI/LookinServer] 崩溃 (#29)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hughkli avatar Jun 10 '20 08:06 hughkli

请问 Xcode 的控制台有没有打印出什么具体的 crash 信息呢?

Xcode控制台没有打印 crash 信息。

Jinlongning avatar Jun 10 '20 09:06 Jinlongning

额,没有报错信息的话…现在只能看出来是 crash 在了 _markIVarsOfObject:class: 方法里。 有三个调试办法: 1)在 Crash 的时候看看能不能定位到具体报错是在哪一行代码 2)按照 https://lookin.work/faq/integration-sourcecode/ 的指引把 LookinServer 的源代码加到你的工程里,然后在 Xcode 里添加 All Exceptions Breakpoint,试试能不能捕捉到 crash 具体在哪一行 3)你构造一个可以重现该 crash 的 demo 项目发给我(不过这个可能有点难)

------------------ 原始邮件 ------------------ 发件人: "Jinlongning"<[email protected]>; 发送时间: 2020年6月10日(星期三) 下午5:27 收件人: "QMUI/LookinServer"<[email protected]>; 抄送: "471633877"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [QMUI/LookinServer] 崩溃 (#29)

请问 Xcode 的控制台有没有打印出什么具体的 crash 信息呢? … ------------------ 原始邮件 ------------------ 发件人: "Jinlongning"<[email protected]>; 发送时间: 2020年6月10日(星期三) 下午2:39 收件人: "QMUI/LookinServer"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [QMUI/LookinServer] 崩溃 (#29) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Xcode控制台没有打印信息。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

hughkli avatar Jun 10 '20 10:06 hughkli

截屏2020-06-11 上午10 54 56 企业微信截图_420370f1-f055-4ee5-b08b-21d1e82b736f 截屏2020-06-11 上午10 02 51

Jinlongning avatar Jun 11 '20 02:06 Jinlongning