[kaffe] KAFFE_DEBUG set but doesn't enter into gdb

Dalibor Topic robilad at kaffe.org
Sun Mar 26 09:59:13 PST 2006

On Sun, 2006-03-26 at 23:18 +0800, ktlam at cs.hku.hk wrote:
> Dear all,
> I want to debug kaffe. When I export KAFFE_DEBUG=gdb at command line and run 
> my application script (in fact tomcat), it doesn't work. 

> when I type 'r' to run, it prompts "command not found" and I think it hasn't 
> really entered into gdb and stayed in the shell. 

Hi Tin,

I believe you need to tell catalina.sh that you want it to stay in the
same shell where you invoke it from, rather than to fork off a tomcat
process. See the catalina script in tomcat's distribution, I believe the
right option is called run, so starting with catalina.sh run should

dalibor topic

More information about the kaffe mailing list