0

我正在使用 padre 进行 Perl 调试。在这里我设置了断点。设置断点后,我尝试一一移动。但我不知道如何知道断点处的变量值。

怎么做 ?

Perl 最好的工具是什么?

4

1 回答 1

2

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.

于 2013-12-18T11:07:26.783 回答