Contents | Prev | Next
Running a program
- After you have "introduced" your graph-program , you can
"play" your machine using the multiple facilities included in
Visual Turing. Use the play toolbar that you can see below to do this

The playbar
- The buttons are just like in a VCR and their semantic is very clear.
When you run a machine, you have some options that make the debugging easier.
The first is the dynamic change of the speed. There are 5 speeds you can
choose to run your machine.

The speed menu
- For the debugging is available the "visual debug" mode that
you can toggle using the "eye" button on the playbar. When the
machine is in visual debug mode, every move of the program is displayed
on the screen and the special debug options are available: the breakpoints
and the reverse execution.
- When you watch a machine running, you can see the track of the execution
- see the figure below.

Running a machine
- The big red arrow shows the current instruction in the execution track
and the little red arrow shows the path to the next instruction. If there
is no little red arrow, the current machine will terminate - that mean
if it is a submachine it will be simply terminated and the execution will
go back where it called that machine or it will end the execution if that
machine is the main one.