Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug toggles like Toggle Debug Painting are not restored after hot restart #3426

Closed
tjx666 opened this issue Jun 23, 2021 · 1 comment
Closed
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps is bug
Milestone

Comments

@tjx666
Copy link

tjx666 commented Jun 23, 2021

Describe the bug
A clear and concise description of what the bug is.

When I was debug paint, I run command Flutter: Toggle Debug Painting. After I click restart button, I want to debug paint again, but I need execute that command twice, the first time doesn't work.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Flutter Project.
  2. Run command Flutter: Toggle Debug Painting
  3. Click restart button in debug toolbar
  4. Run command Flutter: Toggle Debug Painting, there is no paint line in application
  5. Run command Flutter: Toggle Debug Painting again, everything as usual.

Expected behavior

After restart and run that command, I can debug painting as usual.

Versions (please complete the following information):

Version: 1.58.0-insider (Universal)
Commit: 9744231fc12f1aed21089180b3f0394d694bd2a2
Date: 2021-06-23T05:12:16.478Z
Electron: 12.0.11
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin x64 20.5.0
Dart-Code: v3.23.1
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d79295af24 (12 days ago) • 2021-06-11 08:56:01 -0700
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3
@tjx666 tjx666 added the is bug label Jun 23, 2021
@DanTup DanTup changed the title command Toggle Debug Painting need execute twice to activate after restart command Toggle Debug Painting does not re-enable after hot restart Jun 23, 2021
@DanTup DanTup added in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps labels Jun 23, 2021
@DanTup DanTup added this to the v3.24.0 milestone Jun 23, 2021
@DanTup
Copy link
Member

DanTup commented Jun 23, 2021

This is supposed to re-enable itself after the hot restart so you don't need to do anything. Looks like it's become broken along the way somewhere though.

@DanTup DanTup changed the title command Toggle Debug Painting does not re-enable after hot restart Debug toggles like Toggle Debug Painting are not restored after hot restart Jun 23, 2021
@DanTup DanTup closed this as completed in 1af2d1b Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps is bug
Projects
None yet
Development

No branches or pull requests

2 participants