Skip to content

Commit d82794b

Browse files
committed
wait for isolate start event
1 parent 97b40a6 commit d82794b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dwds/test/fixtures/context.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ class TestContext {
152152
appConnection = await testServer.dwds.connectedApps.first;
153153
if (enableDebugging) {
154154
debugConnection = await testServer.dwds.debugConnection(appConnection);
155+
await debugConnection.vmService.streamListen('Isolate');
156+
await debugConnection.vmService.onIsolateEvent
157+
.firstWhere((e) => e.kind == 'IsolateStart');
155158
webkitDebugger = WebkitDebugger(WipDebugger(tabConnection));
156159
}
157160
}

0 commit comments

Comments
 (0)