bugfix: occasionaly restart would fail from an eventCounter mismatch
commit50e4500b8691a6307699a814885466f0438215e1
authorMichael James <michael@michaelbjames.com>
dateTue 29 Jul 2014, 11:22 (12 years ago)
parent9e7ff43
runtime/Debugger.js+1
@@ -226,6 +226,7 @@ function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
226226 }
227227
228228 function restartProgram() {
229+ pauseProgram();
229230 resetProgram(0);
230231 debugModule.watchTracker.clear();
231232 debugModule.tracePath.clearTraces();