]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/EngineImpl.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill set_concurrency_share
[simgrid.git] / src / kernel / EngineImpl.cpp
index f8bb4bcc14bef9a396fb5bfb8d1b17bc59388b4a..f06eb011f90816bdb06b6e3e93104e57a27a207a 100644 (file)
@@ -681,6 +681,7 @@ void EngineImpl::run(double max_date)
 
     if (cfg_breakpoint >= 0.0 && simgrid_get_clock() >= cfg_breakpoint) {
       XBT_DEBUG("Breakpoint reached (%g)", cfg_breakpoint.get());
+      cfg_breakpoint = -1.0; // Let the simulation continue without hiting the breakpoint again and again
 #ifdef SIGTRAP
       std::raise(SIGTRAP);
 #else