X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/32b33834115ef974885e0227b9f47a1e756ee04c..46f34f3267630e5f6b0e01509626ff06c18d2015:/src/mc/api/RemoteApp.cpp diff --git a/src/mc/api/RemoteApp.cpp b/src/mc/api/RemoteApp.cpp index 6c109d4197..dd249a2332 100644 --- a/src/mc/api/RemoteApp.cpp +++ b/src/mc/api/RemoteApp.cpp @@ -282,13 +282,14 @@ void RemoteApp::check_deadlock() const to_c_str(message.type), (int)message.type, (int)MessageType::DEADLOCK_CHECK_REPLY); if (message.value != 0) { + auto* explo = Exploration::get_instance(); XBT_CINFO(mc_global, "Counter-example execution trace:"); - for (auto const& frame : model_checker_->get_exploration()->get_textual_trace()) + for (auto const& frame : explo->get_textual_trace()) XBT_CINFO(mc_global, " %s", frame.c_str()); XBT_INFO("You can debug the problem (and see the whole details) by rerunning out of simgrid-mc with " "--cfg=model-check/replay:'%s'", - model_checker_->get_exploration()->get_record_trace().to_string().c_str()); - model_checker_->get_exploration()->log_state(); + explo->get_record_trace().to_string().c_str()); + explo->log_state(); throw DeadlockError(); } }