From mboxrd@z Thu Jan 1 00:00:00 1970 From: bstell@netscape.com (Brian Stell) To: gdb_mailing_list Subject: debugging mozilla with gdb is so slow Date: Fri, 16 Feb 2001 21:39:00 -0000 Message-id: <3A8E0F7A.5C5334F1@netscape.com> X-SW-Source: 2001-02/msg00245.html I find that using gdb to debug Mozilla very slow. It is so slow that I find many (most?) Linux Mozilla developers use printfs because they "need to get work done". My startup time (time to the first moz window) is really long when I use gdb: Mozilla no gdb: 11 sec Mozilla with gdb: 125 sec This does not seem to meet the goal in the gdb docs: GDB should be responsive to the user. A programmer hot on the trail of a nasty bug, and operating under a looming deadline, is going to be very impatient of everything, including the response time to debugger commands. ( http://www.math.psu.edu/doc/emacs/info/gdbint.info-1 ) Gdb itself comes up fairly fast ~ 5-10 sec. This long start delay makes it basically unusable. I have a 500MHz P3 Linux Redhat 6.2 system with 512M ram. Any thoughts? Brian Stell