Function debugging with auto-update
joerg.kunze
I want to check my function code line by line. A function only updates the screen, when it runs into a DoUpdate command. So my debugging code looks like this
A[n][] = A[j][y]
DoUpdate
A[j][] = A[i][y]
DoUpdate
A[i][] = A[n][]
DoUpdate
A[n][] = Nan
DoUpdate
...
DoUpdate
A[j][] = A[i][y]
DoUpdate
A[i][] = A[n][]
DoUpdate
A[n][] = Nan
DoUpdate
...
I have to insert tons of
DoUpdate
commands and remove them once the debugging is done. Couldn't we have an auto-update checkbox in the debugger?
Alternatively it would be a good idea, if the debugger could do an auto-update whenever it stops at a respective line. In this case, we do not need the checkbox.
What do you think?
Best regards,
Jörg.
The built-in debugger in IP7 allows you to follow the values of matrices step-by-step very conveniently.
This was still a bit cumbersome in IP6.
July 11, 2016 at 12:44 am - Permalink