This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Unable to restart in Perl debugger
- From: Andrew DeFaria <Andrew at DeFaria dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Apr 2004 16:02:15 -0700
- Subject: Unable to restart in Perl debugger
I believe I asked this before but didn't hear any solutions. When
debugging in Perl often I need restart the debugger. However when I do
so I get:
Use `q' to quit or `R' to restart. `h q' for details.
DB<1> R
Warning: some settings and command-line options may be lost!
Daughter DB session started...
######### 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 tty, and disconnect the shell from TTY by sleep 1000000.
main::(reregister:17): my $windows = $ENV{OS} =~ /[Ww]indows/ ? "yes" :
"no";
[4080->4080] DB<0>
$ uname -a
CYGWIN_NT-5.0 C09-272-A 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown
unknown Cygwin
With Perl 5.8.2.
--
I played a blank tape on full volume. The mime who lived next door
complained. So I shot him with a gun with a silencer.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/