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

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

[Octave-bug-tracker] [bug #57634] Pressing F9 in GUI editor echoes last


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57634] Pressing F9 in GUI editor echoes last command output as well
Date: Sun, 18 Oct 2020 15:54:44 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #17, bug #57634 (project octave):

@Torsten:
Did you try on Windows or on Linux? In or out of debug mode?

I get the same if I double-click on a line in the command history.
So it looks like output of any command entered outside the editor (F9) gets
repeated after F9's output.
It's always output from just the last command outside <F9>-in-the-editor that
is repeated.
It's only in debug mode, in the function currently having "focus" (I mean
where execution is). F9 on code in any "inactive" function or script in the
editor doesn't provoke the bug.

I tried several editor and Command window settings, no difference.

Maybe a concrete example that works beautifully reproducible for me?
* edit xlsopen
* ## in xlsopen, set a breakpoint at -say- L.136 ("xlsintf_cnt = 1")
* xls = xlsopen ("blahblah")  ## makes no difference, input validation not
needed
* select all of L. 139 ("xlssupport = 0") except ";", press F9
* terminal just repeats xlssupport = 0 twice as it should
* now enter "a = and (3)" in command line
* go back to editor, again press F9 on L.139, now you should see "xlssupport =
0" twice followed by the output of "x = rand (3)"
* <quit debug mode>


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57634>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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