Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Unable to restart in Perl debugger Date: Thu, 29 Apr 2004 10:18:05 -0700 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 12.9.207.201 User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) In-Reply-To: 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/