XBT_INFO("Counter-example execution trace:");
for (auto const& s : mc_model_checker->getChecker()->get_textual_trace())
XBT_INFO(" %s", s.c_str());
- dumpRecordPath();
+ XBT_INFO("Path = %s", mc_model_checker->getChecker()->get_record_trace().to_string().c_str());
session_singleton->log_state();
if (xbt_log_no_loc) {
XBT_INFO("Stack trace not displayed because you passed --log=no_loc");
XBT_INFO("Counter-example execution trace:");
for (auto const& s : getChecker()->get_textual_trace())
XBT_INFO(" %s", s.c_str());
- dumpRecordPath();
+ XBT_INFO("Path = %s", getChecker()->get_record_trace().to_string().c_str());
session_singleton->log_state();
this->exit(SIMGRID_MC_EXIT_SAFETY);
XBT_CINFO(mc_global, "Counter-example execution trace:");
for (auto const& s : mc_model_checker->getChecker()->get_textual_trace())
XBT_CINFO(mc_global, " %s", s.c_str());
- simgrid::mc::dumpRecordPath();
+ XBT_INFO("Path = %s", mc_model_checker->getChecker()->get_record_trace().to_string().c_str());
simgrid::mc::session_singleton->log_state();
throw DeadlockError();
}
XBT_INFO("Counter-example that violates formula:");
for (auto const& s : this->get_textual_trace())
XBT_INFO(" %s", s.c_str());
- simgrid::mc::dumpRecordPath();
+ XBT_INFO("Path = %s", get_record_trace().to_string().c_str());
api::get().log_state();
XBT_INFO("Counter-example depth: %zu", depth);
}
XBT_INFO("Counter-example execution trace:");
for (auto const& s : get_textual_trace())
XBT_INFO(" %s", s.c_str());
- simgrid::mc::dumpRecordPath();
+ XBT_INFO("Path = %s", get_record_trace().to_string().c_str());
api::get().log_state();
throw TerminationError();
return stream.str();
}
-void dumpRecordPath()
-{
- XBT_INFO("Path = %s", mc_model_checker->getChecker()->get_record_trace().to_string().c_str());
-}
-
#endif
}
static void replay(const std::string& trace);
};
-XBT_PRIVATE void dumpRecordPath();
-
}
}