Python variables and step-by-step mode
- Make sure the Python icon is displayed at the top left of the page.
- Select a code example fron the drop down menu.
- The right frame displays the memory diagram corresponding to the execution of the first instruction of your code.
- You can execute the code step-by-step, select forward or backward arrows to more forward or backward in the Python code.
- Add new statements to your code: change or add assigments, add new variable.Request the update of the memory scheme by clicking on the button to display the result of the execution of all your code or on the button to display only the result of the first instruction.
This same window also acts as a standard output (displayed by println function).
- You can erase all the code for writing some new instructions
- The software choose by itself the order of variable visualization. If you do not agree with this order, select the Call stack withbutton; in this case, the variables are drawn at their actual locations in the stack. All options items are consistent with the step-by-step mode.