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

Re: Setting break point for particular condition in the subroutine

by clueless newbie (Curate)
on Mar 07, 2013 at 12:22 UTC ( [id://1022221]=note: print w/replies, xml ) Need Help??


in reply to Setting break point for particular condition in the subroutine

Sometimes it's easier to use "$DB::single=1;" directly in your code. For example:

my @caller=caller(0); $DB::single=1 if ($caller[0] eq 'package::of::interest' and $caller[3] + eq 'thatsub');
  • Comment on Re: Setting break point for particular condition in the subroutine
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found