Function: trace (<f_1>, ..., <f_n>)
Function: trace (all)
Function: trace () Given functions <f_1>, ..., <f_n>,
trace instructs Maxima to print out debugging information whenever those functions are called.
trace(f)$ trace(g)$ puts
f and then
g onto the list of functions to be traced; the list accumulates from one call to the next.
trace(all) puts all user-defined functions (as named by the global variable
functions) on the list of functions to be traced.
With no arguments,
trace returns a list of all the functions currently being traced.
untrace function disables tracing. See also
trace quotes its arguments. Thus,
f(x) := x^2$ g:f$ trace(g)$ does not put
f on the trace list.
When a function is redefined, it is removed from the timer list. Thus after
timer(f)$ f(x) := x^2$, function
f is no longer on the timer list.
timer (f) is in effect, then
trace (f) has no effect;
timer cant both be in effect for the same function.
There are also some inexact matches for
?? trace to see them.
(%o1) true (%i2)