[Next] [Previous] [Up] [Top]

3 Using the Cecil Debugger

3.7 Restarting, recovering, and quitting

The restart command restarts program execution from the beginning. It's useful when you find a bug, fix it by redefining the method (see section 4), and then want to test your bug fix. No re-initialization of global variables or named concrete objects takes place.

Some programs, such as the Vortex compiler, install explicit error handling wrappers around sections of code. For example, the compiler wraps execution of compilation commands in an error handler, so that message-not-understood errors during compilation return you to the Vortex> prompt, rather than abort the Vortex program. The recover command returns to the last point in the program where an error handler was installed. This is useful if you've identified a problem, installed a fix, and want to return to the error handling level rather than continuing program execution.

Typing quit or really_quit terminates program execution and returns you to the Unix shell prompt.