@@ -180,6 +180,10 @@ function debugModule(module, runtime) {
180 var lastSnapshotPosition = Math.floor(position / EVENTS_PER_SAVE);
180 var lastSnapshotPosition = Math.floor(position / EVENTS_PER_SAVE);
181 eventsUntilSnapshot = EVENTS_PER_SAVE - (position % EVENTS_PER_SAVE);
181 eventsUntilSnapshot = EVENTS_PER_SAVE - (position % EVENTS_PER_SAVE);
182 snapshots = snapshots.slice(0, lastSnapshotPosition + 1);
182 snapshots = snapshots.slice(0, lastSnapshotPosition + 1);
184+ var lastEventTime = recordedEvents[position-1].timestep;
185+ runtime.timer.setDelay(Date.now() - lastEventTime);
183 recordedEvents = recordedEvents.slice(0, position);
187 recordedEvents = recordedEvents.slice(0, position);
184 tracePath.clearTracesAfter(position);
188 tracePath.clearTracesAfter(position);
185 eventCounter = position;
189 eventCounter = position;