Skip to content

Debug sessions often terminate during a hot restart after upgrading to VS Code 1.66 for projects using Isolates #3916

@max-insight

Description

@max-insight

Describe the bug

  • Hot reload works flawlessly on 1.65.2 but upgrading to 1.66 cause frequent disconnection of debugger after few seconds.
  • also disconnects when doing hot restart

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to VSCODE version 1.66
  2. start debug session on flutter
  3. hot restart or hot reload
  4. see that it disconnect from debug session

Expected behavior
debug session should not disconnect, should work as previously

Versions (please complete the following information):

  • VS Code version: 1.66
  • Dart extension version: v3.38
  • Dart/Flutter SDK version: 2.16.1 / 2.10.3

here the link to issue raised in vscode repo: microsoft/vscode#146448

Metadata

Metadata

Assignees

No one assigned

    Labels

    importantSomething important!in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions