Built-in tools for debugging

Built-in tools for debugging - Messages

#1 Posted: 7/20/2016 6:10:27 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: 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 users liked this post
Mike Kaganski 7/20/2016 6:32:00 PM, уни 7/20/2016 11:03:00 PM, Davide Carpi 7/21/2016 3:03:00 AM, Radovan Omorjan 7/21/2016 3:13:00 AM, sergio 7/21/2016 5:26:00 AM, frapuano 7/21/2016 10:36:00 AM, NDTM Amarasekera 7/21/2016 2:47:00 PM, Christopher Bietz 8/31/2016 2:02:00 PM
#2 Posted: 7/20/2016 6:36:36 PM
csb531

csb531

0 likes in 24 posts.

Group: User

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

Kind regards
csb
#3 Posted: 7/21/2016 10:37:21 AM
frapuano

frapuano

13 likes in 115 posts.

Group: 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 Posted: 7/21/2016 10:40:22 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 7/21/2016 9:09:54 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: 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 users liked this post
frapuano 7/22/2016 8:01:00 AM, Davide Carpi 7/22/2016 5:51:00 AM
#6 Posted: 7/22/2016 11:10:31 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 7/24/2016 7:55:16 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: 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 users liked this post
Davide Carpi 7/25/2016 4:30:00 AM, frapuano 10/2/2016 6:45:00 AM
  • New Posts New Posts
  • No New Posts No New Posts