Debugging

Debugging - Messages

#1 Posted: 1/25/2012 8:48:03 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Hello.

I have some thoughts to create a real debugger for SMath Studio where one is able to execute evaluations step by step but for now I've implemented tracing functionality. Here is how it looks like:


Figure 1: Simple tracing - just specify the variables you wanna see.


Figure 2: Mathcad like tracing - first argument is string with placeholders ({0}, {1}... {n}).


Figure 3: Advanced tracing - first argument is string with advanced placeholders ({N:0} - means numeric evaluation, {S:0} - means symbolic evaluation);

Will be available in the next version of SMath Studio.

Regards.
3 users liked this post
Fridel Selitsky 1/26/2012 12:45:00 AM, Radovan Omorjan 1/26/2012 3:25:00 AM, Oscar Campo 1/26/2012 12:21:00 PM
#2 Posted: 1/26/2012 4:32:30 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Andrey,

This would be great .

I remember that uni started to make a debugger for SMath (I do not know the progress of it now) but there was I bit confusin thing -matrix index started at 0 - like in Mathcad by default (there is no zero matrix index in SMath)

I just wander why the placeholders starts at {0} and not at {1}. I suppose there is a programming issue and there is no connection with starting matrix/vector index which is in SMath equals to (1) and in Mathcad is (0) by default. If we are used to starting index as (1) in SMath. would there be any problem to start the placeholder at {1} as well? My comment might have no sense at all, but I was just curious.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts