Description
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:
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