OK, installed the firefox-dbg package, then ran the code in what I
thought was debug mode, got the browser to freeze, and got this for
the effort:
sh-3.1$ /usr/lib/firefox/firefox -debug
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run http://www.overstock.com
Starting program: /usr/lib/firefox/firefox-bin http://www.overstock.com
[Thread debugging using libthread_db enabled]
[New Thread -1221765440 (LWP 5986)]
[New Thread -1223636048 (LWP 5989)]
[New Thread -1232663632 (LWP 5990)]
[New Thread -1245008976 (LWP 5991)]
[New Thread -1253995600 (LWP 5992)]
[New Thread -1262666832 (LWP 5993)]
[New Thread -1271059536 (LWP 5994)]
[Thread -1262666832 (LWP 5993) exited]
[New Thread -1262666832 (LWP 5995)]
[Thread -1271059536 (LWP 5994) exited]
[Thread -1262666832 (LWP 5995) exited]
[Thread -1245008976 (LWP 5991) exited]
[Thread -1253995600 (LWP 5992) exited]
[New Thread -1253995600 (LWP 5996)]
[New Thread -1245008976 (LWP 5997)]
[New Thread -1262666832 (LWP 5998)]
[New Thread -1271059536 (LWP 5999)]
[Thread -1271059536 (LWP 5999) exited]
[Thread -1262666832 (LWP 5998) exited]
[New Thread -1262666832 (LWP 6000)]
[New Thread -1271059536 (LWP 6001)]
[Thread -1271059536 (LWP 6001) exited]
[Thread -1245008976 (LWP 5997) exited]
thread_db_get_info: cannot get thread info: generic error
(gdb) Quit
(gdb) quit
The program is running. Exit anyway? (y or n) y
This sure doesn't look like it's reading any of the debugging symbols
that are supposedly provided by firefox-dbg -- generic error is about as
useful as a diet crouton. What am I doing wrong? I can't find any sort
of documentation that came with firefox-dbg to indicate how to start up
firefox to take advantage of it.
thanks,
Jim