Built-in tools for debugging

Built-in tools for debugging - Сообщения

#1 Опубликовано: 20.07.2016 18:10:27
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

Implementation is in progress, but here is what we have for now:


ss_debug_1.gif

I believe it will make worksheets debugging much easier!
8 пользователям понравился этот пост
Mike Kaganski 20.07.2016 18:32:00, уни 20.07.2016 23:03:00, Davide Carpi 21.07.2016 03:03:00, Radovan Omorjan 21.07.2016 03:13:00, sergio 21.07.2016 05:26:00, frapuano 21.07.2016 10:36:00, NDTM Amarasekera 21.07.2016 14:47:00, Christopher Bietz 31.08.2016 14:02:00
#2 Опубликовано: 20.07.2016 18:36:36
csb531

csb531

0 сообщений из 24 понравились пользователям.

Группа: User

Looks very promising!
Thank you Andrey for all your work for SMath Studio!

Kind regards
csb
#3 Опубликовано: 21.07.2016 10:37:21
frapuano

frapuano

13 сообщений из 115 понравились пользователям.

Группа: User

Wonderful Andrey this is a really top rated feature for Smath Studio.
Keep on the good work and the good ideas .

Best regards

Franco
#4 Опубликовано: 21.07.2016 10:40:22
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

The debug delivered with Smath official release 5346 is not bad at all:
divide by zero, arays don't match, undefined ...result is above
One debug puzzled me for a while, explain: sometimes, when plotting
user function, you will get an underscore followed by a number
_ -X.XXXXXX .... it indicates non computable number
#5 Опубликовано: 21.07.2016 21:09:54
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

Latest SMath Studio beta released: http://en.smath.info/forum/yaf_postst7659_SMath-Studio-0-98-5997--02-June-2016.aspx

One can play with debugging functionality there.

Please note:
  • Buttons in main toolbar are rearranged;
  • Super handy Pause button implemented - you can found a place where calculation in progress right now in one click! Previously it was absolutely impossible for large worksheets;
  • Watch panel displays changed values in red - it makes much easier to understand what was changed since last step;
  • Breakpoints can be set/removed before calculation started and also when calculation is already in progress;
  • Vertical scrollbar improved to show locations of the regions with breakpoints.


I will slightly improve debugging functionality in future releases and will fix some bugs, but it looks for me very powerful even today!

I also realized, that this feature can also be used in understanding the logic of SMath Studio and in learning to show students ordering of operations in loops and between assignments. One thing I do not understand is why Mathcad do not offers the same possibilities... or at least I did not found anything similar there.

Best regards!
2 пользователям понравился этот пост
frapuano 22.07.2016 08:01:00, Davide Carpi 22.07.2016 05:51:00
#6 Опубликовано: 22.07.2016 11:10:31
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

One thing I do not understand is why Mathcad does not offers the same possibilities... or at least I did not finnd anything similar there.



On not too long program, Math 11 tracks error coding [highlight red] pretty well.
However, the code may be correct but the maths may not be productive or wrong !
Many collabs dmanded for higher level of bug tracking. I have recollection Tom G.
did produce some supplementary "check code", but I had no real need for it.
I may still have that coding.

Jean

#7 Опубликовано: 24.07.2016 19:55:16
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

Some improvements introduced into latest nightly build:
- Step Into allows to go inside simple functions (i.e. even if they are not procedures);
- Tooltip for items in debug window.

ss_debug_2.gif
2 пользователям понравился этот пост
Davide Carpi 25.07.2016 04:30:00, frapuano 02.10.2016 06:45:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений