Generating a stack trace?

How do I generate a trace of all the RT/SB API calls that result
from a click in the web interface?

Thanks.

-Todd

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.

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

-ToddOn 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@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel