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

ktlam at cs.hku.hk ktlam at cs.hku.hk
Sun Mar 26 10:17:55 PST 2006


Hi Dalibor, 

OIC. Overlooked really. Thanks a lot for reminder. 

By copy, James, FYI. 


Quoting Dalibor Topic <robilad at kaffe.org>:

> 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
> work.
> 
> cheers,
> dalibor topic
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the kaffe mailing list