On Mon, 2004-10-25 at 15:45, Andy Lester wrote:
> On Mon, Oct 25, 2004 at 03:18:43PM -0400, Perrin Harkins ([EMAIL PROTECTED]) wrote:
> > If you'd care to expand on that, there might be some people on here who
> > can help you with it. One thing that often causes problems is that you
> > have to initialize the debugger before you compile anything in your
> > startup.pl or you won't get the symbols put in.
>
> We don't use a startup.pl. We use PerlModule in the httpd.conf
I recommend using startup.pl instead, because of strange reloading
behavior with PerlModule (i.e. it will load your modules twice, unlike a
normal "use MyModule").
> and I
> put a PerlModule Apache::DProf right at the top of the file. The
> problem is that it says "45% of your time is in TT", with no more
> granularity than that.
That's because it doesn't initialize the debugger until after your code
is compiled. Put this in right after Apache::DProf:
<Perl>
use Apache::DB ();
Apache::DB->init;
</Perl>
- Perrin
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates