Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Debugging Perl scripts which use fork()

by dash2 (Hermit)
on Feb 28, 2003 at 14:49 UTC ( #239443=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { 
    my $ttyno = 1;
    ...
        $DB::fork_TTY = "/dev/pts/" . $ttyno++;
    }
    }
    
  2. or download this
    use vars $ttyno;
    
    ...
    sub DB::get_fork_TTY {
        $DB::fork_TTY = "/dev/pts/" . $main::tty;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://239443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-08-01 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls