Using NYTProf with Mason under mod_perl

I'm trying to profile a web application written on top of HTML::Mason, I managed to set the profiler but it doesn't seem to pick-up the code inside the components. Is there a way to profile Mason applications using NYTProf?


I realize you're deploying this app under mod_perl, but one way to handle this would be to deploy under Plack and then use Plack::Middleware::Debug::Profiler::NYTProf. I haven't done this for Mason apps, but it was almost trivial to get some CGI::Application code running under Plack. Once you are able to deploy under Plack you get access to lots of great middleware components for debugging. If you can do this with little or no changes to the app itself, you could still continue to deploy to production under mod_perl but use Plack in development for stuff like NYTProf.

EDIT: I see now that I should have pointed you at Devel::NYTProf::Apache.

Need Your Help

Can't install python-dateutil

python python-2.7 powershell pip python-dateutil

I've tried to search through the same problem on stack but none was helpful and precise. I tried to install python-dateutil. I did it one way and then the other:

JNLP Applet UnsatisfiedLinkError

java dll applet jnlp unsatisfiedlinkerror

I'm trying to build an applet with JNLP. I wrote an Ant script to compile java classes, to build jar files and to sign them. I signed all jars with same keystore that I built by Ant. I gave permiss...