Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Module for Printing Line Numbers in Debug?

by clueless newbie (Chaplain)
on Jan 21, 2013 at 12:48 UTC ( #1014436=note: print w/replies, xml ) Need Help??

in reply to Module for Printing Line Numbers in Debug?

Perhaps you could use Hook::LexWrap to wrap the subs in the modules that you're interested in. There was this thread Fun with Hook::LexWrap and code instrumentation that might be of interest.

Update - Huh? I've got a module that automagically wraps all of the subs of subsequently loaded modules and then during execution generates a SQLite database of call chains together with what was passed and what was returned. All one would have to insert/remove one use statement. Is that what you're looking for?

Dang - something I wrote might actually be useful!

  • Comment on Re: Module for Printing Line Numbers in Debug?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014436]
[marto]: glad mine can't do this
[choroba]: sell to whom? Burglars?
[marto]: think targeted ads
[marto]: "your house is so big, consider product XYZ", "You clean a lot, consider product ABC"

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-07-26 11:59 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (390 votes). Check out past polls.