Thank you for the suggested patch. The change to line 430
of Devel::NYTProf::FileInfo has restored functionality
to nytprofhtml with some warnings about
uninitialized values. I treasure your wild guesses.
What is $self->profile and what could cause it to be undef?
Is it the result of profiling a statement, or a subroutine?
What do you think my usage of is seriously wrong, Perl or
NYTProf? I have no problem with the module that's being
profiled, or scripts that use it, or with commandline usage.
I'm not doing anything unusual with NYTProf either.
Here are those warnings:
Writing line reports to nytprof directory
97% ... Use of uninitialized value in numeric gt (>) at /Devel/NYTPr
+of/Reader.pm line 184.
Use of uninitialized value in numeric gt (>) at /Devel/NYTProf/Reader.
+pm line 185.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 235.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 237.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 238.
Use of uninitialized value in concatenation (.) or string at /Devel/NY
+TProf/Reader.pm line 188.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 540.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 541.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 542.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 543.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 544.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 545.
Use of uninitialized value in sprintf at /bin/nytprofhtml line 202.
98% ... Use of uninitialized value in numeric gt (>) at /Devel/NYTPr
+of/Reader.pm line 184.
Use of uninitialized value in numeric gt (>) at /Devel/NYTProf/Reader.
+pm line 185.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 235.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 237.
Use of uninitialized value $fname in substitution (s///) at /Devel/NYT
+Prof/Util.pm line 238.
Use of uninitialized value in concatenation (.) or string at /Devel/NY
+TProf/Reader.pm line 188.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 540.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 541.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 542.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 543.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 544.
Use of uninitialized value $_ in substitution (s///) at /bin/nytprofht
+ml line 545.
Use of uninitialized value in sprintf at /bin/nytprofhtml line 202.
100% ...
Extracting subroutine call data (There were 9159849 of them, so this m
+ay take some time, or cancel and use --no-flame to skip this step.) .
+..
Extracting subroutine links
Generating subroutine stack flame graph ...
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|