How to trace the changes of a variable within an algorithm? | Debug Techniques