我在emacs中使用perldb来调试Perl脚本(在Linux上).工作得很好,直到我调试一个分叉的脚本.如果我的脚本执行"fork",我得到这个:
######### Forked, but do not know how to create a new TTY. #########
Since two debuggers fight for the same TTY, input is severely entangled.
I know how to switch the output to a different window in xterms
and OS/2 consoles only. For a manual switch, put the name of the created TTY
in $DB::fork_TTY, or define a function DB::get_fork_TTY() returning this.
On UNIX-like systems one can get the name of a TTY for the given window
by typing …Run Code Online (Sandbox Code Playgroud)