简体   繁体   English

调试递雷鸟闪电

[英]Debug handing thunderbird lightning

Today lightning started to hang up thunderbird shortly after startup with 100% cpu, no I/O and constant memory usage.今天,闪电在启动后不久就开始挂断雷鸟,100% 的 CPU,没有 I/O 和恒定的内存使用。 I verified the cause by deactivating it.我通过停用它来验证原因。 Since this also happens with a completely different installation and a different server-side account, I suspect the server (owncloud) sends something awkward.由于这也会发生在完全不同的安装和不同的服务器端帐户中,我怀疑服务器(owncloud)发送了一些尴尬的东西。 I read about debugging a thunderbird extensions using the firefox tools, but I cannot connect the debugger, since the main drawing thread is blocked (and thus the connection cannot be accepted).我阅读了有关使用 firefox 工具调试雷鸟扩展的信息,但我无法连接调试器,因为主绘图线程被阻塞(因此无法接受连接)。 The error console seems to be empty.错误控制台似乎是空的。

Is there any other known strategy to debug a running thunderbird/lightning app?是否有任何其他已知的策略来调试正在运行的雷鸟/闪电应用程序? Can I dump the js state?我可以转储 js 状态吗? Log all lightning actions to the console?将所有闪电操作记录到控制台? Any other idea to pinpoint the culprit?任何其他想法来查明罪魁祸首?

You can use the remote debugging capabilities to capture a profile.您可以使用远程调试功能来捕获配置文件。 This should be working even if most things are hanging, but from what you wrote it seems you've tried.即使大多数事情都挂了,这也应该有效,但是从您写的内容来看,您似乎已经尝试过了。 If the problem is that you cannot access the dialog that asks to accept the connection, you can set a few devtools prefs to auto-accept connections.如果问题是您无法访问要求接受连接的对话框,您可以设置一些 devtools 首选项以自动接受连接。 I believe this is devtools.debugger.prompt-connection which needs to be set to false.我相信这是需要设置为 false 的devtools.debugger.prompt-connection

Regarding logging, you can enable calendar.debug.log and calendar.debug.log.verbose in the advanced config editor.关于日志记录,您可以在高级配置编辑器中启用calendar.debug.logcalendar.debug.log.verbose You can then set XRE_CONSOLE_LOG to output the console to a file.然后,您可以设置XRE_CONSOLE_LOG以将控制台输出到文件。 There is a page (although not official, or at least outdated) on debugging xulrunner apps .有一个关于调试 xulrunner 应用程序的页面(虽然不是官方的,或者至少是过时的)。 This pretty much applies to Thunderbird too.这几乎也适用于 Thunderbird。

You may also be lucky in contacting the Lightning maintainer to discuss debugging this, he is available on irc.mozilla.org #calendar and is named Fallen.你也可能幸运地联系了 Lightning 维护者来讨论调试这个问题,他可以在 irc.mozilla.org #calendar 上找到,并被命名为 Fallen。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM