in reply to Setting break point for particular condition in the subroutine
you're setting a breakpoint on the routine with a condition which checks $_ which doesn't make much sense.
If I where you I would set the breakpoint at first line of body of if($cmd =~ /INITIAL/i) condition, that is unless (fork)
There is more than one way to do it.
Find the line number by investigating the routine with l Engine::_Execute and set b line_number.
Or manipulate your source and include $DB::single=1 before the line you want to break.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting break point for particular condition in the subroutine
by srlbharu (Acolyte) on Mar 07, 2013 at 13:08 UTC | |
|
Re^2: Setting break point for particular condition in the subroutine
by srlbharu (Acolyte) on Mar 07, 2013 at 13:48 UTC | |
by LanX (Saint) on Mar 07, 2013 at 14:54 UTC | |
by choroba (Cardinal) on Mar 07, 2013 at 15:13 UTC |