On 5/11/07, John ORourke <[EMAIL PROTECTED]> wrote:
Any idea why Apache::DProf would be failing to list some subroutines
that are definitely being called, in the tmon.out file?

Yes.  You're probably loading some of your code before initializing
the debugger.  Put something like this in httpd.conf before any
PerlModule or PerlRequire statements:
<Perl>
       require Apache::DB;
       Apache::DB->init;
</Perl>

Note that this is exactly the opposite of the advice you're getting
about Devel::Profiler.  DProf has to be loaded before any of the code
you want to profile, not after.

- Perrin

Reply via email to