Apama Documentation : Deploying and Managing Apama Applications : Correlator Utilities Reference : Using the command-line debugger : Controlling execution with the command-line debugger : The wait command
The wait command
The wait command connects to the correlator to determine if the correlator has suspended processing. If the correlator is in suspend mode, the wait command returns immediately and debugging continues. If the correlator is not in suspend mode, the wait command remains connected to the correlator. The wait command returns when something else suspends the correlator or when the timeout is reached. Operations that can suspend the correlator include reaching a breakpoint, stepping into or over a line, or some other client explicitly stopping the correlator. If the wait command reaches the timeout, it suspends the correlator before it returns.
Stepping can take a variable amount of time. For example, suppose the debugger stops at the end of a listener and you execute a step command. The debugger is now outside the flow of execution until another event comes in. The time that the debugger has to wait for the step to finish is dependent upon when the next matching event arrives.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback