octave-maintainers
[Top][All Lists]
Advanced

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

keyboard() 'exit' function broken


From: Rik
Subject: keyboard() 'exit' function broken
Date: Fri, 29 May 2009 17:47:40 -0700
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

The keyboard function for debugging stops normal execution and drops the
user back to the Octave prompt where they can inspect variables, perform
calculations to verify intermediate results, etc.  To resume execution
the user types 'exit' or 'quit'. 

Unfortunately in the latest tip typing 'exit' doesn't resume execution
but drops the user completely out of Octave and back to the shell.

Demonstration code:

function myfunc
set_a_variable_for_inspection = 1;
keyboard;
end

Then type 'myfunc' at the prompt which will stop at line 3 and present
the 'debug>' prompt.  Typing 'exit' will drop the user to the shell.

--Rik


reply via email to

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