develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH 5.6.1] debugger goof

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
July 2, 2001 12:59
Subject:
Re: [PATCH 5.6.1] debugger goof
Message ID:
20010702155955.C24295@math.ohio-state.edu
On Mon, Jul 02, 2001 at 03:42:51PM -0400, schwern@pobox.com wrote:
> On Mon, Jul 02, 2001 at 02:23:48PM -0500, Jarkko Hietaniemi wrote:
> > (We need a debugger test suite...)
> 
> Somebody mentioned there was some magic filehandle we could use rather
> than worrying about piping things through STDIN and TTYs, etc...
> Or does the debugger just listen to STDIN?

STDIN - Almost never.  But you should be able to do whatever you want
with something like

  $ENV{PERLDB_OPTS} = 'TTY=&STDIN,&STDOUT L=&STDOUT';

BTW, it is a pity that almost-never used `RemotePort' (sp?) now
conflicts with often-needed `ReadLine', so 

  env PERLDB_OPTS=R=0 perl -d readline-application

would not work any more, you need ReadLine=0 (nowadays one can through
in C=7 as well).

  env "PERLDB_OPTS=ReadLine=0 C=7" perl -d readline-application

...  What about changing it to DebugTTYport?

Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About