Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Tool to record subroutine calls & return values

by LanX (Saint)
on Apr 09, 2017 at 19:51 UTC ( [id://1187534]=note: print w/replies, xml ) Need Help??


in reply to Tool to record subroutine calls & return values

Dunno about the mentioned modules, but Perl has built in support for stack/frame tracing.

It's also possible to hook a function to every subcall when run under the debugger.

I used this before but didn't remember the details anymore, but this looks good:

RE: (Debugging, Tracing, Trace, Instrumenting) Automatic tracing of my Perl code?

I think that's flexible enough for your intended support for test coverage of legacy code.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-29 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found