Debugger dosen't print to console

Help
bin
2005-03-05
2013-05-20
  • bin

    bin - 2005-03-05

    Hi every one,
    I noticed that the debugger dosen't print output to the console during the process. instead, the output is dumped to the console when debugger is done. Any fix for that ???

    Thanx for your help,

    mardi

     
    • Stephan Ruehl

      Stephan Ruehl - 2005-03-05

      Hi,

      Perl buffers output before printing. Use
      $| = 1;
      $old = select STDERR;
      $|=1;select $old;

      at the beginning of your script to change this behavior.

      Regards

      Stephan

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks