bugGNU Octave - Bugs: bug #44596, Post debug phenomena


bug #44596: Post debug phenomena

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Fri 20 Mar 2015 09:57:54 PM UTC  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: ConfirmedAssigned to: None
Originator Name: AvinoamOpen/Closed: Open
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Wed 28 Dec 2016 08:43:32 PM UTC, comment #6:

I also see this on LINUX (Octave 4.2.0, self compiled from official release tar-ball, under Ubuntu 16.04):

  • I do the very same steps as described in the first code box of comment #5. The command promt looks alright afterwards (">> "). But when I then press the "Enter" key in the Command Windows Tab, nothing happens. No new command line appears. Even after typing "2+2", pressing Enter, and receiving the answer "ans = 4" nothing will happen after pressing the Enter key again on the new empty command line.
  • After execution of the second code box of comment #5, the behavior is the very same (still Linux) as described above for the first code box.
Hartmut <hardy>
Wed 28 Dec 2016 06:13:55 PM UTC, comment #5:

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

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

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

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.

Rik <rik5>
Project Administrator
Sat 24 Dec 2016 07:45:37 AM UTC, comment #4:

Changing OS to any and and release to 4.2.0

Avinoam Kalma <avinoam>
Project Member
Fri 23 Dec 2016 10:04:02 PM UTC, comment #3:

This issue is (at least partly) still present in Octave 4.2.0.

After the debugging procedure described in comment #0, I still do not get a new line when pressing the return key on a blank line.

This happens also in Linux, not just under Windows as it is currently suggested be the tags.

Hartmut <hardy>
Tue 02 Jun 2015 04:32:47 PM UTC, comment #2:

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Fri 20 Mar 2015 11:50:06 PM UTC, comment #1:


I wonder if it is related to the fact that pressing return on a blank line does not, in fact, advance to the next line as it does in Linux. It may be that the 'continue' button issues a newline to the command window which, instead of going to the next line, merely redraws the prompt and remains in place at the same vertical location.

Rik <rik5>
Project Administrator
Fri 20 Mar 2015 09:57:54 PM UTC, original submission:

I set a breakpoint in a routine, for example in isprime.m, line 66,
and write


the program hits the breakpoint, and Octave enters debug mode.
I press continue, the program continues and exits debug mode.
If I do it again (a=isprime(2) and then continue) I get

>> ug>

which is caused from the leftovers of debug, and the regular prompt
(see attached file). Moreover, if I press ENTER Octave does not
move the cursor to the next line, unless another character is typed.

Avinoam Kalma <avinoam>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #33415:  debug.png added by avinoam (102KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Dec 2016 07:45:37 AM UTCavinoamRelease4.0.0=>4.2.0
      Operating SystemMicrosoft Windows=>Any
    Tue 02 Jun 2015 04:32:47 PM UTCjweRelease4.0.0-rc1=>4.0.0
    Mon 23 Mar 2015 04:35:02 PM UTCrik5StatusNone=>Confirmed
    Fri 20 Mar 2015 09:57:54 PM UTCavinoamAttached File-=>Added debug.png, #33415

    Back to the top

    Powered by Savane 3.1-cleanup1