@@ -223,15 +223,14 @@ function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
225 function getHotSwapState() {
225 function getHotSwapState() {
226+ var counter = eventCounter;
226− if (debugModule.getPaused()) {
227+ if (!debugModule.getPaused()) {
227− return {
228+ counter = getMaxSteps();
228− recordedEvents: debugModule.copyRecordedEvents(),
229− eventCounter: eventCounter
231+ recordedEvents: debugModule.copyRecordedEvents(),
232+ eventCounter: counter
237 function dispose() {
236 function dispose() {