on master help sign in
bugfix: occasionaly restart would fail from an eventCounter mismatch
50e4500Michael James
runtime/Debugger.js+1
@@ -226,6 +226,7 @@ function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
226 }
226 }
227
227
228 function restartProgram() {
228 function restartProgram() {
229+ pauseProgram();
229 resetProgram(0);
230 resetProgram(0);
230 debugModule.watchTracker.clear();
231 debugModule.watchTracker.clear();
231 debugModule.tracePath.clearTraces();
232 debugModule.tracePath.clearTraces();