Andrew Yeltsin wrote:
> I've found the "41. Debugging" section in documentation and tried to
> place breakpionts and trace functions calls.
> But the breakpions can be only placed in Maxima functions. And only
> Maxima (not the lisp-level functions) functions are printed in function
> call traces.
>
> So, the question is:
> Is it posssible to enable lisp-level debugging in Maxima?
If you start maxima with the -g option, the lisp debugger is enabled.
But this means that lisp errors will throw you into the lisp debugger
instead of the usual behavior. This may or may not be what you want.
But if you just want to trace Lisp functions, you can use
:lisp (trace abc def)
I do this all the time.
>
> Or, more general, does Maxima have a step-by-step mode?
> If it does not have such a mode, how it would be easier to make
> step-by-step mode?
Maxima doesn't have a step-by-step mode that I know of. In fact, some
of the algorithms are not the ones that would be used until you've had
college-level math classes, so a step-by-step mode may not be so useful.
(Actually, I think some of the algorithms are way beyond what I ever
learned in college math.)
Ray