Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: be explicit when reaching an execution end (it's important when reading user...
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 22 Mar 2022 20:54:50 +0000 (21:54 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 22 Mar 2022 20:55:40 +0000 (21:55 +0100)
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;
     }