WhenProblem calling perldb from a script, the current source line is not properly selected! (keyword

Discussion in 'Perl Misc' started by tmstaedt, Nov 12, 2007.

  1. tmstaedt

    tmstaedt Guest

    For people out there having the same problem:

    The error usually sits in front of the computer, even though the perl
    documentation could be a bit more explicit about this:
    I just had to modify my little script to contain -emacs like:

    cat /tmp/stdin-17959.log | perl -d
    /buildcontrol/tinderbox/bin/processmail_builds_test.pl -emacs

    A perldoc perl5db.pl tells you under 'SETTING UP THE TERMINAL' to
    specify -emacs as the first option after the script.

    If there is a TTY, we have to determine who it belongs to
    before
    we can
    proceed. If this is a slave editor or graphical debugger
    (denoted by
    the first command-line switch being '-emacs'), we shift this
    off and
    set $rl to 0 (XXX ostensibly to do straight reads).
     
    tmstaedt, Nov 12, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gaurav Shah

    debugging multi-file scripts using perldb

    Gaurav Shah, Oct 27, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    120
    Peter Scott
    Oct 28, 2003
  2. bill

    perldb history dump?

    bill, Feb 26, 2004, in forum: Perl Misc
    Replies:
    2
    Views:
    99
  3. bill
    Replies:
    1
    Views:
    114
  4. Roman Kaganovich

    .perldb interface to DDD

    Roman Kaganovich, Jul 27, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    95
    Roman Kaganovich
    Jul 27, 2004
  5. Roman Kaganovich

    .perldb interface to DDD

    Roman Kaganovich, Jul 28, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    103
    Roman Kaganovich
    Jul 28, 2004
Loading...

Share This Page