@@ -406,57 +406,41 @@ void main() {
406406 file: mainFile,
407407 breakpointMarker: capturedStringMarker,
408408 );
409- print ('added breakpoint' );
410409
411410 final oldLog = "log('\$ mainValue');" ;
412411 final newLog = "log('\$ {closure()}');" ;
413412 await makeEditAndRecompile (mainFile, oldLog, newLog);
414- print ('recompiled' );
415413
416414 bp =
417415 (await hotReloadAndHandlePausePost ([
418416 (file: mainFile, breakpointMarker: capturedStringMarker, bp: bp),
419417 ])).first;
420418
421- print ('hot reload and handled pausepost' );
422-
423419 final breakpointFuture = waitForBreakpoint ();
424420
425421 await callEvaluate ();
426422
427- print ('called evaluate' );
428-
429423 // Should break at `capturedString`.
430424 await breakpointFuture;
431-
432- print ('waited for breakpoint' );
433425 final oldCapturedString = 'captured closure gen0' ;
434426 expect (consoleLogs.contains (oldCapturedString), false );
435427 // Closure gets evaluated for the first time.
436428 await resumeAndExpectLog (oldCapturedString);
437429
438- print ('resumed and got log' );
439-
440430 final newCapturedString = 'captured closure gen1' ;
441431 await makeEditAndRecompile (
442432 mainFile,
443433 oldCapturedString,
444434 newCapturedString,
445435 );
446436
447- print ('made edit again and recompiled' );
448-
449437 await hotReloadAndHandlePausePost ([
450438 (file: mainFile, breakpointMarker: capturedStringMarker, bp: bp),
451439 ]);
452440
453- print ('hot reloaded again and handled pause post' );
454-
455441 // Breakpoint should not be hit as it's now deleted. We should also see
456442 // the old string still as the closure has not been reevaluated.
457443 await callEvaluateAndExpectLog (oldCapturedString);
458-
459- print ('handled evaluate again and got log' );
460444 });
461445 }, timeout: Timeout .factor (2 ));
462446
0 commit comments