octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33295] Octave can not debug when read from pi


From: Eduardo Cuesta
Subject: [Octave-bug-tracker] [bug #33295] Octave can not debug when read from pipe
Date: Thu, 12 May 2011 18:23:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16

Follow-up Comment #3, bug #33295 (project octave):

In the file 'octave/src/input.cc' in 'get_debug_input' function says:

if (stdin_is_tty)
  {
    ...
  }
else
  warning ("invalid attempt to debug script read from stdin");

why the warning ?

I have modified that for testing if there is any problem for debugging when
stdin is a pipe and there was not any problem, all works fine. Here is the
modification:

stdin_is_tty = true;

if (stdin_is_tty)
  {
    ...
  }
else
  warning ("invalid attempt to debug script read from stdin");

Could you fix this for the next version of Octave ?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33295>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]