Skip to content

"Global evaluation is not supported", possible regression #52574

Closed
@techvx

Description

@techvx

Updating via flutter upgrade to the latest version breaks the ability to inspect global variables - in VS Code, at least. Impossible to inspect any global state outside of the immediate local scope even when the execution is paused, i.g. at a breakpoint, either.

The minimal example from the thread of 5 years ago when the feature appears to have been first discussed:

image

Fails with "global evaluation is not supported".

Possibly related to #52430 and #4555.

Downgrading to Flutter 3.7.6 / Dart 2.19.3 solves the issue.

Will experiment with other attempts to upgrade and reproducible examples of my own, when I find the time.

flutter doctor

[√] Flutter (Channel stable, 3.7.6, on Microsoft Windows [Version 10.0.19045.2965], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.21)
[√] Android Studio (version 4.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

flutter --version

Flutter 3.7.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 12cb4eb7a0 (3 months ago) • 2023-03-01 10:29:26 -0800
Engine • revision ada363ee93
Tools • Dart 2.19.3 • DevTools 2.20.1

Metadata

Metadata

Assignees

Labels

area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.pkg-ddsFor issues related to the Dart Development Service

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions