Data Sheet

Using the Roborun Configuration Utility
384 Advanced Digital Motor Controller User Manual V1.8, August 28, 2017
Debugging Scripts
A number of techniques can be used to debug a script that is not behaving as expected.
You can view the value of variable in real time during program execution by clicking on the
Inspect Variables button. Then hover the mouse over a variable in the program listing. The
variable value will be read and displayed at the mouse location. The variable value is read
only once when first hovering over the variable. To read the value again, move the mouse
away and return over that variable.
Embedding print statements is another common technique. Place print statements in
specific places of the script to verify that a given part of the code gets executed. Print the
value of variables you wish to see. To avoid large data dumps on the screen, add code to
print conditionally, for example when a variable changes or reaches a given value range.