else
{
boolean isScriptExecuting = viewer.isScriptExecuting();
- if (viewer.checkHalt(strCommand))
+ if (viewer.checkHalt(strCommand, true))
strErrorMessage = (isScriptExecuting ? "string execution halted with "
+ strCommand
: "no script was executing");