This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: debugging
- From: Tom Tromey <tromey at redhat dot com>
- To: Christophe Roux <ch_roux at club-internet dot fr>
- Cc: rhug-rhats at sources dot redhat dot com
- Date: 17 Sep 2002 17:30:48 -0600
- Subject: Re: debugging
- References: <E17qz4j-0000pB-00@smarthost1.mail.easynet.fr>
- Reply-to: tromey at redhat dot com
>>>>> "Christophe" == Christophe Roux <ch_roux@club-internet.fr> writes:
Christophe> So I want to use server side gdb in order to track my bugs.
Christophe> Can someone tell me how to use gdb with rhug-tomcat?
I've never tried it. However, a general technique that might work is
to attach to the running gcj-compiled process using gdb. See the
`attach' command. Doing this effectively may involve adding sleep()
calls to your program... not to mention working around areas where
gdb's gcj support is less than ideal.
Tom