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

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

[Octave-bug-tracker] [bug #53453] octave -x stops echoing on descending


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53453] octave -x stops echoing on descending into a function call
Date: Mon, 26 Mar 2018 21:42:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Update of bug #53453 (project octave):

                  Status:                    None => Patch Submitted        

    _______________________________________________________

Follow-up Comment #1:

The following patch fixes this for me


diff --git a/libinterp/corefcn/interpreter.cc
b/libinterp/corefcn/interpreter.cc
--- a/libinterp/corefcn/interpreter.cc
+++ b/libinterp/corefcn/interpreter.cc
@@ -478,7 +478,7 @@ namespace octave
 
         if (options.echo_commands ())
           m_evaluator.echo
-            (tree_evaluator::ECHO_SCRIPTS | tree_evaluator::ECHO_FUNCTIONS);
+            (tree_evaluator::ECHO_SCRIPTS | tree_evaluator::ECHO_FUNCTIONS |
tree_evaluator::ECHO_ALL);
 
         std::string docstrings_file = options.docstrings_file ();
         if (! docstrings_file.empty ())


Does that work for you?

jwe - I see that in ab8831d346c1, the previous code set the echo to
ECHO_SCRIPTS | ECHO_FUNCTIONS | ECHO_CMD_LINE, but the current version only
sets ECHO_SCRIPTS | ECHO_FUNCTIONS. Does it look right that the -x option
should be the same as 'echo on all'?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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