1 страниц (8 вхождений)
How can I evaluate the variables in the loop - Сообщения
#1 Опубликовано: 10.09.2021 09:24:11
#2 Опубликовано: 10.09.2021 09:40:07
You can either use the function trace() to show some specific variables (data will be shown in the "output" window on the fly without stopping evaluations) or use the debugger. This is more in "Visual Studio IDE style" and shows you the whole context in a specific point (the breakpoint); this means that the execution is paused when those points are evaluated. To add/remove a breakpoint you can use the context menu (mouse right-click)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 10.09.2021 13:50:44
WroteI want to see how the variables are changing in the loop
You can see it outside the loop, same more vivid.
Cheers ... Jean.
0Anim Landing.sm (56 КиБ) скачан 37 раз(а).
#4 Опубликовано: 10.09.2021 17:28:15
WroteDear Smath-experts,
How can I evaluate the variables in the loop in SMATH?
I want to see how the variables are changing in the loop like in python.
Is what debug is for, but how does it work?
...
Best regards,
Andrey
Hi Andrey, you can use trace() for check how variables are changing in the loop:
Regards,
Oscar
#5 Опубликовано: 10.09.2021 21:18:10
... for convenience make it algo style collapsed in utilities.
Thus, you will have it from in-situ command line.
Cheers ... Jean.
Utilities Discrete CUMULATIVE algo.sm (4 КиБ) скачан 29 раз(а).
Thus, you will have it from in-situ command line.
Cheers ... Jean.
Utilities Discrete CUMULATIVE algo.sm (4 КиБ) скачан 29 раз(а).
#6 Опубликовано: 10.09.2021 21:34:41
#7 Опубликовано: 11.09.2021 09:58:36
Thanks Oscar for trace.
I couldn't make it produce SS 6179.
Was good idea to refactor my old vintage.
Cheers ... Jean.
Utilities Discrete CUMULATIVE algo.sm (14 КиБ) скачан 29 раз(а).
I couldn't make it produce SS 6179.
Was good idea to refactor my old vintage.
Cheers ... Jean.
Utilities Discrete CUMULATIVE algo.sm (14 КиБ) скачан 29 раз(а).
1 страниц (8 вхождений)
-
Новые сообщения
-
Нет новых сообщений