Reputation:
I'm using padre for Perl debugging. Here I've set break point. After set break point, I try to move one by one. But I don't know how to know the variable value at the break point .
How to do that ?
and
What is the Best tool for Perl ?
Upvotes: 0
Views: 285
Reputation: 1342
For debugging a Perl code, use perl -d myscript.pl
b LINE_NUMBER for break-point.
c to continue.
n to skip internals of subroutine.
s to enter into subroutine and debug each line of the subroutine.
For documentation, read here.
OR
Use use re qw(debug);
package directly.
Check its documentation here.
Upvotes: 2