This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to restart in Perl debugger


Andrew DeFaria wrote:
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.


--
Some people are like Slinkies . . not really good for anything, but you still can't help but smile when you see one tumble down the stairs.



-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]