Debugging a program

Bugs

Modérateur : xcasadmin

ftneek
Messages : 19
Inscription : sam. juin 08, 2024 7:40 pm

Debugging a program

Message par ftneek » ven. nov. 29, 2024 12:13 am

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?

Répondre