To enter a halt action:
halt [with text-expression] if breakpoints are enabled
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.