next up previous index
Next: Execution Steps Up: Execution with Grace Previous: Execution with Grace

Execution Modes

Grace has two basic execution modes: step and run mode. In the step mode, the executions stops after each step and waits for a user action. In the run mode, the program runs without stopping until a predefined condition is met. This can be e.g. hitting a breakpoint, reaching a required step number, depth, finding a solution, etc. In the step mode, all displayed data is updated when the program stops, whereas the amount of display updates in the run mode is controlled by the DISPLAY... menu (see section 8.1.1). Moreover, when All or Stack is selected in the DISPLAY... menu, Grace registers user input even during program execution and so all buttons, menus etc. are active and can be used. In particular, pressing the STEP button will change the mode to step and the program will stop after the current labelling step. When, on the other hand, the None item is selected in the DISPLAY... menu, user input is ignored and the program runs with its maximal speed. It can still be stopped at any time by typing Ctrl-C on the keyboard, which also changes the mode to step.



next up previous index
Next: Execution Steps Up: Execution with Grace Previous: Execution with Grace



Micha Meier
Tue Jul 2 10:07:34 MET DST 1996