Skip to content

Regular hangs of the analyzer in VSCode on Windows #60702

Open
@TheLastFlame

Description

@TheLastFlame

For the past year, in all my projects, the analyzer has been regularly hanging.

This manifests as:

  1. File saving being blocked (as it uses formatting).

    Image

  2. Broken syntax highlighting, with tooltips displaying outdated information.

    Image

  3. Failure to load object documentation on hover (it shows an endless "Loading...").

To fix this, I have to completely restart the analyzer, after which everything returns to normal for a while, but it invariably breaks again.

Several of my acquaintances are experiencing similar issues. However, after switching to macOS on the same projects, the problem disappears.

I understand that it's impossible to determine the cause with the current information, but I don't know where to find more necessary details. Perhaps there's a way to output detailed logs from the analyzer to capture what it's doing when these problems occur?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-performanceIssue relates to performance or code size

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions