#2803 time/trace does not work for a function with quoted agrument

None
open
nobody
5
2014-08-19
2014-08-19
No

If I define a function which does not evaluate an argument I cannot
trace and "time" it.

Maxima branch_5_33_base_126_gb53c54c_dirty http://maxima.sourceforge.net
using Lisp SBCL 1.1.14.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) f('x):= x$
(%i2) f(error());   <--------------------------------- It is OK
(%o2)                               error()
(%i3) trace(f)$
(%i4) f(error())$
 -- an error. To debug this try: debugmode(true);
(%i5) untrace(f)$
(%i6) f(error());   <--------------------------------- It is OK
(%o6)                               error()
(%i7) timer(f)$
(%i8) f(error())$
 -- an error. To debug this try: debugmode(true);

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks