Skip to content

Debugging features are broken after a reload due to missing execution context #2284

Closed
@annagrin

Description

@annagrin

I can only see this internally, after putting a breakpoint in main.dart and reloading the page (could be a new chrome version?)

11:17:32.500 INFO: MetadataProvider: Loading debug metadata...
11:17:32.504 WARNING: RemoteDebuggerExecutionContext: Timed out finding an execution context after 100 ms.
11:17:32.504 SEVERE: AppInspector: Missing execution context ID: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:65:7)
<asynchronous suspension>
#1      AppInspector.contextId (package:dwds/src/debugging/inspector.dart:186:14)
<asynchronous suspension>
#2      AppInspector._jsCallFunction (package:dwds/src/debugging/inspector.dart:268:31)
<asynchronous suspension>
#3      AppInspector.mapExceptionStackTrace (package:dwds/src/debugging/inspector.dart:778:22)
<asynchronous suspension>
#4      ChromeProxyService._chromeConsoleStreamController.<anonymous closure>.<anonymous closure> (package:dwds/src/services/chrome_proxy_service.dart:1279:29)
<asynchronous suspension>


11:17:32.576 INFO: MetadataProvider: Loaded debug metadata (sound null safety)
11:17:32.576 INFO: ChromeProxyService: Initializing expression compiler for ads/acx2/demo/web/demo_ddc_bundle.app.bootstrap.js with sound null safety: true
11:17:32.652 INFO: ExpressionCompilerService: Updating dependencies...
11:17:32.973 WARNING: RemoteDebuggerExecutionContext: Timed out finding an execution context after 100 ms.
11:17:32.973 SEVERE: AppInspector: Missing execution context ID: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:65:7)
<asynchronous suspension>
#1      AppInspector.contextId (package:dwds/src/debugging/inspector.dart:186:14)
<asynchronous suspension>
#2      AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:755:20)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:121:35)
<asynchronous suspension>
#4      AppInspector.create (package:dwds/src/debugging/inspector.dart:178:5)
<asynchronous suspension>
#5      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:258:18)
<asynchronous suspension>
#6      DevHandler._handleConnectRequest (package:dwds/src/handlers/dev_handler.dart:460:7)
<asynchronous suspension>
#7      DevHandler._handleConnection.<anonymous closure> (package:dwds/src/handlers/dev_handler.dart:268:15)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions