Skip to content

Commit f7ad1f4

Browse files
author
Thomas Witte
committed
commit marker even on runtime error
1 parent 8e481d6 commit f7ad1f4

File tree

1 file changed

+3
-0
lines changed
  • interactive_script/src/interactive_script_plugin

1 file changed

+3
-0
lines changed

interactive_script/src/interactive_script_plugin/builtins.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ void VisualizationInterpreter::run_script(std::string& script, const Interactive
5656
break;
5757
case Interpreter::ExecResult::ERR_RUNTIME:
5858
signal.appendTerminal(QString::fromStdString(get<string>(s)));
59+
60+
// commit visualization even if the code produced an error or reached its visit limit
61+
marker.commit();
5962
break;
6063
case Interpreter::ExecResult::NOERROR:
6164
{

0 commit comments

Comments
 (0)