Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: how to set a breakpoint by a code reference

by 2teez (Priest)
on Nov 18, 2013 at 10:02 UTC ( #1063061=note: print w/ replies, xml ) Need Help??


in reply to how to set a breakpoint by a code reference

Hi Matq,

..How can I set a breakpoint by a code reference?..

Using $DB::single = 1; at the line where you want to set a breakpoint in your script might be want you want.
Please see perldebug

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re: how to set a breakpoint by a code reference
Download Code
Re^2: how to set a breakpoint by a code reference
by Matq (Initiate) on Nov 19, 2013 at 01:46 UTC
    Hi 2teez, I just want to set/clean breakpoint freely; and don't like to add/delete the directives here and there. :) BR

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-09-20 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls