This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Program executes too slow to debug under gdb
- To: gdb at sources dot redhat dot com
- Subject: Program executes too slow to debug under gdb
- From: pnolan at cix dot compulink dot co dot uk (Paul Nolan)
- Date: Fri, 21 Jul 2000 09:59 +0100 (BST)
- Cc: pnolan at cix dot compulink dot co dot uk
- Reply-To: pnolan at cix dot compulink dot co dot uk
In-Reply-To: <964166418.24549.ezmlm@sources.redhat.com>
Hello,
Can anyone offer some suggestions on how I can debug my application at a usable
speed under gdb? I`m using RedHat 6.2 on a 500mhz Dell Inspiron 7500 laptop,
and have tried gdb 4.18 and 5.0, as well as other Linux distributions
(several testers have reported the same problem too). I`ve tried compiling with -
optimisation turned on, but with the same results - my app runs so slowly under
gdb that its almost impossible to even select a menu item in less than 15
minutes. The only things I`m doing that might be considered the slightest bit
unusual is calling a lot of functions, often recursively, to levels 40 or so
deep, and using several linux threads. If you would like an example, there is a -
.tgz archive of the app here:
http://www.paulnolan.com/Linux/Updates/PhotogenicsB89.tgz
Thanks in advance,
Paul