Skip to content

Debug isn't working (optimized out) #53654

Description

@ozalisky

I will copy the description from the original issue Dart-Code/Dart-Code#4555 (comment)

Describe the bug
During debug, hovering a value doesn't show its value anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Run some code
  2. Break in a breakpoint then hover some variable
  3. Most of the times it happens inside of a builder

Expected behavior
To show the value of the variable.

image
image

Please complete the following information:

Operating System and version: MacOS 13.5.2
VS Code version: 1.82.2
Flutter 3.13.4 • channel stable •
https://github.com/flutter/flutter.git
Framework • revision 367f9ea16b (2 weeks ago) •
2023-09-12 23:27:53 -0500
Engine • revision 9064459a8b
Tools • Dart 3.1.2 • DevTools 2.25.0

It appeared in Dart 3.0.1, Flutter 3.10.1

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.cherry-pick-candidateCandidates to be cherry-pickedneeds-infoWe need additional information from the issue author (auto-closed after 14 days if no response)triagedIssue has been triaged by sub teamvm-debugger

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions