Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

create an execution graph / Devel::DProf doesn't work with POE

by saxman25 (Initiate)
on Oct 22, 2008 at 09:47 UTC ( [id://718676]=perlquestion: print w/replies, xml ) Need Help??

saxman25 has asked for the wisdom of the Perl Monks concerning the following question:

hi, I have an application written in perl which makes use of POE (http://search.cpan.org/~rcaputo/POE-1.003/lib/POE.pm).

Now I like to use Devel::DProf on this application for creating an execution graph of the script. But end up with the bug mentioned here:
http://search.cpan.org/~rgarcia/perl-5.10.0/ext/Devel/DProf/DProf.pm#BUGS

The culprit is within the POE:
panic: Devel::DProf inconsistent subroutine return at /usr/lib/perl5/vendor_perl/5.10.0/POE/Kernel.pm line 798.

My question:
Are there any similiar possibilities for extracting this kind of information which don't stumble over POE?
Or any other way to automatically generate something like an execution graph while running a skript? (not just "dry parsing" of code but following the exact execution during runtime)



thanks

  • Comment on create an execution graph / Devel::DProf doesn't work with POE

Replies are listed 'Best First'.
Re: create an execution graph / Devel::DProf doesn't work with POE
by Anonymous Monk on Oct 22, 2008 at 10:46 UTC
    for creating an execution graph of the script.
    Try Devel::Trace, then turn that into a graph :)
      thanks.

      but how can I translate the output of Devel::Trace into a execution graph?

      dprofpp can't handle the format of the Trace.

      is there a more general visualisation tool that allows to configure the syntax of the input file?
      or a module which generates dprofpp compatible output?
Re: create an execution graph / Devel::DProf doesn't work with POE
by Anonymous Monk on Oct 22, 2008 at 19:03 UTC
    Devel::DProfLB is compatible with, and produces the same output as Devel::DProf, but with fewer bugs.
      thanks a lot!

      yes, DProfLB can handle the POE.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://718676]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found