Skip to content

VM always prints "<isolate> has no debugger is attached and is paused" #56282

Open
@bkonyi

Description

@bkonyi

As of this CL enabling DDS in the SDK, a message of the following format is always printed when an isolate is paused:

vm-service: isolate (5995070039560719) 'main' has no debugger attached and is paused. Connect to the Dart VM service at http://127.0.0.1:8181/ to debug.

The message seems to imply that there's no debugger attached, even when there is an active DevTools / Observatory instance connected. This is because DDS is the only VM service client and immediately subscribes to the Debug stream, so the decision was (apparently) made to always display this message rather than never displaying it.

DDS should communicate to the VM service that there's a client subscribed to the Debug stream so that this message is only printed when no clients connected to DDS are listening to the Debug stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.pkg-ddsFor issues related to the Dart Development ServicetriagedIssue has been triaged by sub teamvm-serviceThe VM Service Protocol, both the specification and its implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions