octave-maintainers
[Top][All Lists]
Advanced

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

Re: echo function on SYNTEX for Octave


From: Mike Miller
Subject: Re: echo function on SYNTEX for Octave
Date: Sat, 19 Sep 2015 23:28:32 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Sep 19, 2015 at 12:13:36 -0400, Hörmetjan Yiltiz wrote:
> Hi all,
> 
> I am debugging a function file which uses OpenGL (via Psychtoolbox) to
> control full screen and input events. So it is almost impossible to debug
> using the normal *keyboard* debugging routine. On the other hand, it would
> be very useful if I could turn on the *echo* for a single function file.
> But Octave's ECHO does not support this behavior. Any workaround?

The `echo` command is a compatbility wrapper for the more capable
`echo_executing_commands` function. If you look at the help for
`echo_executing_commands`, you'll see that it takes a "local" option, so
you can enable it within a specific function. Does that do what you
want?

-- 
mike



reply via email to

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