[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42309] keyboard (debug mode) not quite right
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #42309] keyboard (debug mode) not quite right when running from GUI |
Date: |
Wed, 07 May 2014 13:40:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 |
Update of bug #42309 (project octave):
Category: None => GUI
Item Group: None => Incorrect Result
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
Thanks for your bug report. This is a bit confusing. Is the m-file testme a
script or a function file? Does it contain the definition of a function or
does it execute the function? Or both? When I create a file testfunc.m with:
function testfunc ()
disp ("before keyboard");
keyboard ();
disp ("after keyboard");
endfunction
and call testfunc from the command prompt, it works correctly. If I try to
"execute" it using "run" or "source", it does nothing (as expected). If I
"execute" it from the editor, yes I see what you are seeing.
I suspect that this should do nothing, because "executing" a file that
contains nothing but a function definition should just drop back to the shell.
So it does seem like a bug that running it from the GUI does something
different from "run testfunc" at the command line.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42309>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/