[Rt-devel] Generating a stack trace?

Todd Chapman rt at chaka.net
Wed Feb 2 14:48:47 EST 2005


Is there a way to get the name of the components called as
part of the stack trace? Right now I have to guess based
on the component arguments.

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8a4ed08)','Type',1) called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 1069

-Todd

On Sat, Jan 22, 2005 at 02:34:29AM +0300, Ruslan U. Zakirov wrote:
> Todd Chapman wrote:
> >How do I generate a trace of all the RT/SB API calls that result
> >from a click in the web interface?
> Apache::DProf
> See http://wiki.bestpractical.com/index.cgi?ApacheConfig
> 
> dprofpp -T tmon.out
> 
> This will output call tree.
> 
> Or use "require Carp; Carp::cluck();" if you want stack trace from 
> particular place.
> 
> >
> >Thanks.
> >
> >-Todd
> >_______________________________________________
> >Rt-devel mailing list
> >Rt-devel at lists.bestpractical.com
> >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


More information about the Rt-devel mailing list