To halt code execution in Animate mode, perform one of the following actions
Select the Halt Execution command from the Debug menu
Click the Halt execution toolbar button
The code execution is then halted.
The Halt Execution command is enabled only when code is executing in Animate mode.