@@ -180,14 +180,13 @@ function debugModule(module, runtime) {
180180 snapshots = snapshots.slice(0, lastSnapshotPosition + 1);
181181
182182 var lastEventTime = recordedEvents[position-1].timestep;
183− runtime.timer.setDelay(Date.now() - lastEventTime);
183+ var scrubTime = runtime.timer.now() - lastEventTime;
184+ runtime.timer.addDelay(scrubTime);
184185
185186 recordedEvents = recordedEvents.slice(0, position);
186187 tracePath.clearTracesAfter(position);
187188 eventCounter = position;
188− executeCallbacks(asyncCallbacks, false, lastEventTime);
189− } else {
190− runtime.timer.setDelay(0);
189+ executeCallbacks(asyncCallbacks, false);
191190 }
192191 tracePath.startRecording();
193192 }
@@ -491,12 +490,12 @@ function tracePathInit(runtime, signalGraphMain) {
491490 }
492491}
493492
494−function executeCallbacks(callbacks, reexecute, previousTime /* =undefined */) {
493+function executeCallbacks(callbacks, reexecute) {
495494 callbacks.forEach(function(timer) {
496495 if (reexecute || !timer.executed) {
497496 var func = timer.func;
498497 timer.executed = true;
499− func(previousTime);
498+ func();
500499 }
501500 });
502501}