X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4936d3a7e7a293750b17254e5339b678df2b5bbc..3150aca44effea27a875c990e1cdcfbab5e6895c:/src/simix/libsmx.cpp?ds=sidebyside diff --git a/src/simix/libsmx.cpp b/src/simix/libsmx.cpp index d27ddfcbdd..9914b02b82 100644 --- a/src/simix/libsmx.cpp +++ b/src/simix/libsmx.cpp @@ -224,6 +224,11 @@ void simcall_run_blocking(std::function const& code, simgrid::kernel::ac const char* SIMIX_simcall_name(const s_smx_simcall& simcall) { if (simcall.observer_ != nullptr) { +#if SIMGRID_HAVE_MC + if (mc_model_checker != nullptr) // Do not try to use the observer from the MCer + return "(remotely observed)"; +#endif + static std::string name; name = boost::core::demangle(typeid(*simcall.observer_).name()); const char* cname = name.c_str();