Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 58283
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: me [...] berekuk.ru
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.00
Fixed in: (no value)



Subject: String eval source code not available on perl 5.8
Download (untitled) / with headers
text/plain 407b
Devel::NYTProf 4.00 don't print source code of string evals in source code for perl 5.8, even when I enable use_db_sub=1 option, as noted in savesrc documentation. Simple script and nytprof.out file attached. nytprof.out was generated with this command: $ NYTPROF=use_db_sub=1 perl -d:NYTProf 1.pl abc Code versions: Devel-NYTProf: 4.00 perl: 5.8.8 (native perl from Ubuntu Hardy) OS: Ubuntu Hardy x86_64
Subject: 1.pl
Download 1.pl
text/x-perl 70b
#!/usr/bin/perl my $sub = eval q[sub { print "abc\n" } ]; $sub->();
Subject: nytprof.out
Download nytprof.out
application/octet-stream 672b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 285b
You'll need 5.8.9 (or 5.10.1 or 5.12+) to see the eval source code. I'm sorry for any confusion. I wasn't clear on it myself. I've updated the blog post and clarified the docs and report comment for the next release. See http://code.google.com/p/perl-devel-nytprof/source/detail?r=1295


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.