Contents | Prev
| Next
Debugging a program
- After you developed the graph-program, you may debug your "code"
structures using multiple features of debugging featured in Visual Turing.
It is recommended to be in the visual debug mode when you debug a machine.
See the picture below and remark the useful buttons for debugging.

The debug options
- When you debugging a program, you can use breakpoints on instructions.
You can put a breakpoint on a instruction using the context menu of that
instruction. The breakpoint pauses the execution just before the instruction
is to be executed. Note that this option is available just in visual debug
mode.
- With the Step In option you can make one step in execution.
This feature is available both in visual debug mode and the normal mode.
- The Step Out option has two "applications": when the
execution arrow is over a submachine, you press this button and the machine
will be executed without changing the view to that machine - this is stepping
over the machines. The other case is when you are in a machine and you
want to execute the program until the machine finishes - that is stepping
out. This feature is available both in visual debug mode and the normal
mode.
- The Step Back option allows you to make reverse steps of the
execution - this is "reverse execution". It is available just
in visual debug mode.