Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Setting break point for particular condition in the subroutine

by rjt (Deacon)
on Mar 07, 2013 at 10:43 UTC ( #1022194=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Setting break point for particular condition in the subroutine
in thread Setting break point for particular condition in the subroutine

Yes, that's why you need to figure out the actual line number. "123" was just an example. You can determine the line number with l Engine::_Execute ... lines that are breakable will show with a colon (:) after the line number in the debugger. Hence, if you see this:

100 sub Engine::Execute 101 { 102 103: foreach (@commands) 104 { 105: $cmd = $_; 106: if($cmd =~ /INITIAL/i) 107 {

... then you would type b 106 $cmd =~ /INITIAL/i

Again, these numbers are just examples. You need to determine the actual line number for yourself with l Engine::_Execute!


Comment on Re^3: Setting break point for particular condition in the subroutine
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (23)
As of 2014-07-14 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (260 votes), past polls