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

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

[Octave-bug-tracker] [bug #44596] Post debug phenomena


From: Rik
Subject: [Octave-bug-tracker] [bug #44596] Post debug phenomena
Date: Wed, 28 Dec 2016 18:13:55 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #5, bug #44596 (project octave):

I can only get this to happen on Windows, not Linux.  I used


octave-4.2.0 -f
dbstop isprime 66
a = isprime (2);
## Switch to Editor Tab, Hit Continue Button
## Switch back to Command Window Tab
a = isprime (2);
## Switch to Editor Tab, Hit Continue Button
## Switch back to Command Window Tab


More interesting behavior, again only on Windows, with this code:


octave-4.2.0 -f
dbstop isprime 66
dbstop isprime 77
a = isprime (2)
## Switch to Editor Tab, Hit Continue Button
## Hit Continue Button a second time
## Switch back to Command Window Tab
a = 1>
>>


There was an extra ">\n" in the output buffer.

This is likely to be caused by the use of the __db_next_breakpoint_quiet__
function within the GUI which sets 


  octave::tree_evaluator::quiet_breakpoint_flag = state;


A complete stab in the dark, but maybe somewhere we need a std::endl instead
of just "\n" so that the output is truly flushed somewhere in the print
routines.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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