| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (13 out of 30)

halt

This action stops G2 from running the KB. Use this action for debugging.

To enter a halt action:

The halt action lets you halt at a certain location in a procedure, rule, or action button. Using the halt action with a text-expression displays the message when the halt action is executed.

The halt action is a debugging tool that lets you pause at a certain point of execution. As such, you may not want to use the halt action when G2 is controlling a real-time application.

You can use the halt action only when the Tracing-and-breakpoints-enabled? attribute in the Debugging Parameters system table is set to yes. The attribute default is no. Otherwise, the halt action has no effect. The Breakpoint-level of the Debugging Parameters need not be set to a level greater than zero (0).

A dialog such as the following appears when G2 executes the halt action:


G2 cannot continue processing until you select one of the buttons.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (13 out of 30)

Copyright © 1997 Gensym Corporation, Inc.