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

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

[Octave-bug-tracker] [bug #42705] Commands continue to be sent to the te


From: Richard
Subject: [Octave-bug-tracker] [bug #42705] Commands continue to be sent to the terminal if breakpoint hit
Date: Tue, 08 Jul 2014 12:54:49 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

URL:
  <http://savannah.gnu.org/bugs/?42705>

                 Summary: Commands continue to be sent to the terminal if
breakpoint hit
                 Project: GNU Octave
            Submitted by: crobar
            Submitted on: Tue 08 Jul 2014 12:54:49 GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Richard Crozier
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:


If you use 'Run Selection' to send commands to the command window, and one of
those commands results in you hitting a break point in your code, flow stops
at the break point, but the remaining commands then continue to be sent to the
terminal, usually resulting in an error.

It would be better in general if commands sent in this way acted as a single
'block' sent to the interpreter (as though they were in a script file). 

Might this also avoid the painfully slow printing of the commands on the GUI
terminal when using 'Run Selection' too?

Looking into the code (octave_qscintilla.cc around line 244) I see that the
command is split on [\r\n] and fed line by line to the octave link. Is the
Octave interpreter unable to accept newlines in its input?

I'm on the default branch hg id returns: 24332f256940 tip @







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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