on master help sign in
reordering events in restart fixed restart jankiness
4b62488Michael James
runtime/Debugger.js+1−2
@@ -278,10 +278,9 @@ function debuggerInit(debugModule, runtime, debuggerHistory /* =undefined */) {
278 resetProgram(0);
278 resetProgram(0);
279 debugModule.watchTracker.clear();
279 debugModule.watchTracker.clear();
280 debugModule.tracePath.clearTraces();
280 debugModule.tracePath.clearTraces();
281+ debugModule.setContinue(0);
281 debugModule.clearRecordedEvents();
282 debugModule.clearRecordedEvents();
282 debugModule.clearSnapshots();
283 debugModule.clearSnapshots();
283− debugModule.setContinue(0);
284− executeCallbacks(debugModule.initialAsyncCallbacks);
285 }
284 }
286
285
287 function pauseProgram() {
286 function pauseProgram() {