Perrin Harkins wrote:
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>

Brilliant, that did the trick. I was using PerlModule and PerlLoadModule to load some stuff in during server init, and of course that was defining things before any children were initialised.

thanks for the various tips folks, I've got something which works now :)

John

Reply via email to