Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: be explicit when reaching an execution end (it's important when reading user...
[simgrid.git] / src / mc / explo / DFSExplorer.cpp
index f3314fb..c310c05 100644 (file)
@@ -129,8 +129,11 @@ void DFSExplorer::run()
       XBT_DEBUG("There remains %zu actors, but none to interleave (depth %zu).",
                 mc_model_checker->get_remote_process().actors().size(), stack_.size() + 1);
 
-      if (mc_model_checker->get_remote_process().actors().empty())
+      if (mc_model_checker->get_remote_process().actors().empty()) {
         mc_model_checker->finalize_app();
+        XBT_INFO("Execution came to an end at %s (state: %ld, depth: %zu)", get_record_trace().to_string().c_str(),
+                 state->num_, stack_.size());
+      }
       this->backtrack();
       continue;
     }