Debugging

Debugging - Сообщения

#1 Опубликовано: 25.01.2012 20:48:03
Andrey Ivashov

Andrey Ivashov

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

Группа: 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 пользователям понравился этот пост
Fridel Selitsky 26.01.2012 00:45:00, Radovan Omorjan 26.01.2012 03:25:00, Oscar Campo 26.01.2012 12:21:00
#2 Опубликовано: 26.01.2012 04:32:30
Radovan Omorjan

Radovan Omorjan

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

Группа: 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!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений