Skip to content

Unable to debug web apps using latest Flutter master / SDK DAPs #4413

@DanTup

Description

@DanTup

When clicking the Dart Debug Extension button (edit: this happens on Chrome too, not specific to the debug extension), the connection is made but the app never loads.

Verbose logs contain this:

Connecting to VM Service at ws://127.0.0.1:54237/nxSUombw4hc=/ws
[ +107 ms] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 16, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 16, params: {streamId: Isolate, includePrivateMembers: false}}}}
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 17, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 17, params: {streamId: Debug, includePrivateMembers: false}}}}
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 18, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 18, params: {streamId: Logging, includePrivateMembers: false}}}}
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 19, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 19, params: {streamId: Extension, includePrivateMembers: false}}}}
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 21, error: {code: -32601, message: The stream `ToolEvent` is not supported on web devices}}
[  +51 ms] ExpressionEvaluator: Evaluating "() => true" at packages/flutter/src/widgets/title.dart
[  +34 ms] ExpressionEvaluator: Evaluated "() => true" to "boolean true" for isolate 1

It's unclear which (if any) of these are causing the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsin webRelates to running Dart or Flutter web appsis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions