可能性の重複:
How can I make Perl and Python print each line of the program being executed?"SH -x" と等価
私はPerlやPythonのためのsh -x
の同等を探しています。
可能性の重複:
How can I make Perl and Python print each line of the program being executed?"SH -x" と等価
私はPerlやPythonのためのsh -x
の同等を探しています。
Devel::Traceとperl -d:Trace
をインストールします。
は(デバッガ上プログラミングPerlのの章より抜粋。)
をご.perldb
ファイルが含まれている場合:
parse_options("NonStop=1 LineInfo=tperl.out AutoTrace");
を、あなたのプログラムは、人間の介入なしで実行されます、にトレース 情報を入れますファイルtperl.out
。 (あなたがそれを中断した場合、あなたは何を見ることを期待している場合 良くは/dev/tty
にLineInfo
をリセットしたい。)
参照[この] [1]前の質問 [1]:のhttp:// stackoverflowの.com/questions/2872089/perl-and-python-print-each-of-the-program-being-executed –
http://stackoverflow.com/questions/2872089/how -can-i-make-perl-and-python-print-program実行中の各行 質問済み –