Firefox 时不时会冻结,我想知道原因。
我以为我可以通过使用该选项启动 Firefox 来获得一些调试输出-g
,但它只是出现某种提示然后停止。
我如何获取调试输出以便能够诊断 Firefox 的问题?
以下是我目前得到的结果:
$ firefox -g
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/lib/firefox-7.0.1/firefox...(no debugging symbols found)...done.
(gdb)
一旦达到(gdb)
,它就会停止,并且 Firefox 永远不会启动。
答案1
您应该run
在gdb
提示符下输入,以便firefox
继续运行,并查看崩溃时留下的任何消息。