Page 1 sur 1

Debugging a program

Publié : ven. nov. 29, 2024 12:13 am
par ftneek
I'm having some trouble trying to use the debugger in Xcas (1.9.0) on macOS (15.2), the buttons do not seem to work. I try the example in the HTML help:

Code : Tout sélectionner

sumprod(a,b):={ local s,p; s:=a+b; p:=a*b; return [s,p]; }; debug(sumprod(2,3))
I press the 'sst' and 'in' buttons, but the program does not advance to the next line. The 'kill' button does not close the debugger. I'm not sure if the other buttons are working either.

I've tried using the precompiled version and compiling the source myself with the same result. Any suggestions?