reset error flag after abort an execution 05/21705/1
Cedric Delamarre [Wed, 3 Mar 2021 09:42:13 +0000 (10:42 +0100)]
Change-Id: I197de02ca3059e26ac0cfc07a681f5f32bb520e8

scilab/modules/ast/src/cpp/ast/debugmanager.cpp

index ef5c55c..7180361 100644 (file)
@@ -516,8 +516,10 @@ void DebuggerManager::abort() //abort execution
             ConfigVariable::DecreasePauseLevel();
         }
 
-        // reset lasterror
+        // reset lasterror information
         ConfigVariable::clearLastError();
+        // reset error flag
+        ConfigVariable::resetError();
         // reset callstack
         clearCallStack();