Revision: 1409
Author: [email protected]
Date: Fri Jun 3 14:22:26 2011
Log: Added and clarified some notes in the troubleshooting docs
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1409
Modified:
/trunk/Changes
/trunk/lib/Devel/NYTProf.pm
=======================================
--- /trunk/Changes Tue Nov 30 14:16:59 2010
+++ /trunk/Changes Fri Jun 3 14:22:26 2011
@@ -6,6 +6,10 @@
=cut
+=head2 Changes in Devel::NYTProf 4.07
+
+ Added and clarified some notes in the troubleshooting docs.
+
=head2 Changes in Devel::NYTProf 4.06 (svn r1406) 30th Nov 2010
Fixed risk of nytprofhtml failure due to over-long filenames RT#62319
=======================================
--- /trunk/lib/Devel/NYTProf.pm Tue Nov 30 14:13:02 2010
+++ /trunk/lib/Devel/NYTProf.pm Fri Jun 3 14:22:26 2011
@@ -1126,13 +1126,20 @@
If the sudden death was due to calling C<POSIX::_exit($status)> then you'll
need to call L</finish_profile> before calling C<POSIX::_exit>.
+You'll also get this error if the code trying to read the profile is itself
+being profiled. That's most likely to happen if you enable profiling via
the
+C<PERL5OPT> environment variable and have forgotten to unset it.
+
=head2 Some files don't have profile information
-This is usually due to NYTProf being loaded after the other files, for
example
+This is usually due to NYTProf being initialized after some perl files have
+already been compiled.
If you can't alter the command line to add "C<-d:NYTProf>" you could try
using
the C<PERL5OPT> environment variable. See L</PROFILING>.
+You could also try using the L</use_db_sub=1> option.
+
=head1 AUTHORS AND CONTRIBUTORS
B<Tim Bunce> (L<http://www.tim.bunce.name> and L<http://blog.timbunce.org>)
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]