Next: , Previous: clear-cache, Up: Commands


4.4 The Command continue

This command can only be executed in debug mode. It resumes rule execution and may be followed by:

Nothing.
Rule execution is continued until a breakpoint is met or the rules have been executed completely.
A line number.
Rule execution is continued until a breakpoint is met, the rules have been executed completely or the given line in the current source file is met. If there is no statement starting at this line, execution will be stopped at the nearest line where a statement starts. You can, for example, continue execution until line 245 in the current source file is met by entering the command
          continue 245

A file name and a line number.
Rule execution is continued until a breakpoint is met, the rules have been executed completely or the given line in the given file is met. If there is no statement starting at this line, execution will be stopped at the nearest line where a statement starts. An example:
          continue english.syn 59

A rule name.
Rule execution is continued until a breakpoint is met, the rules have been executed completely or the first statement of the given rule is met. An example:
          continue final_rule

A comparison.
The comparison must be of the form variable = value, where variable may be any variable name, maybe followed by a path, and value may be any Malaga value. Rule execution is continued until a breakpoint is met, the rules have been executed completely or until variable is defined and its value is value.