Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (tye)Re: Preventing BEGIN blocks from being run in the debugger?

by bikeNomad (Priest)
on May 25, 2001 at 19:25 UTC ( #83333=note: print w/ replies, xml ) Need Help??


in reply to (tye)Re: Preventing BEGIN blocks from being run in the debugger?
in thread Preventing BEGIN blocks from being run in the debugger?

But this is a perl tags utility; I can't edit the source code.
In perldebguts, though, it says that the contents of PERL5DB will be inserted at the beginning of the program being debugged. Which is the same as putting it in the source code. And, in fact, had I not misspelled $DB::begin, it would have worked. However, it doesn't do what I want: if you break in a BEGIN block, the line number arrays aren't yet set up, so the tags utility won't work. Oh well...


Comment on Re: (tye)Re: Preventing BEGIN blocks from being run in the debugger?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls